X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Feffects%2Fbloom.h;h=7315075b1f68c43553ba1de7f103834ef4cc947c;hp=6b10195b873e684d6af7634b85d8dd31a9f05879;hb=fe2fc291a4fc618425c64112c9ffd3519f0b8a3e;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266 diff --git a/source/effects/bloom.h b/source/effects/bloom.h index 6b10195b..7315075b 100644 --- a/source/effects/bloom.h +++ b/source/effects/bloom.h @@ -5,7 +5,6 @@ #include "mesh.h" #include "postprocessor.h" #include "texture2d.h" -#include "texturing.h" #include "program.h" #include "programdata.h" #include "rendertarget.h" @@ -43,13 +42,12 @@ public: private: RenderTarget *target[2]; ProgramData common_shdata; - Program blur_shader; + const Program &blur_shader; ProgramData blur_shdata[2]; - Program combine_shader; - Texturing combine_texturing; - RefPtr quad; - RefPtr nearest_sampler; - RefPtr linear_sampler; + const Program &combine_shader; + const Mesh &quad; + const Sampler &nearest_sampler; + const Sampler &linear_sampler; public: Bloom(unsigned, unsigned);