]> git.tdb.fi Git - libs/gl.git/blobdiff - source/bloom.h
Modernize the Bloom code
[libs/gl.git] / source / bloom.h
index c02604afc0a281a918076190433f6e15ae2e4f1d..f930f1cd20449d883e194e9654cbc8a86350c087 100644 (file)
@@ -12,6 +12,7 @@ Distributed under the LGPL
 #include "mesh.h"
 #include "postprocessor.h"
 #include "texture2d.h"
+#include "texturing.h"
 #include "program.h"
 #include "programdata.h"
 
@@ -35,6 +36,7 @@ private:
        ProgramData blur_shdata[2];
        Program combine_shader;
        ProgramData combine_shdata;
+       Texturing combine_texturing;
        Mesh quad;
 
 public:
@@ -48,7 +50,7 @@ public:
        values mean more blurriness. */
        void set_strength(float);
 
-       virtual void render(const Texture2D &);
+       virtual void render(const Texture2D &, const Texture2D &);
 };
 
 } // namespace GL