17973Patch by dfelinto, and also fixed a bug in 2d-filters
[blender.git] / source / gameengine / Rasterizer / RAS_2DFilterManager.h
index 454643a5077099345ccb0cbc782052c397978e5c..6a420a974d444a904c43aed7a406556acde23c86 100644 (file)
@@ -44,7 +44,9 @@ private:
        void FreeTextures();
 
        void UpdateOffsetMatrix(RAS_ICanvas* canvas);
-
+       void UpdateCanvasTextureCoord(unsigned int * viewport);
+       float                   canvascoord[4];
        float                   textureoffsets[18];
        float                   view[4];
        /* texname[0] contains render to texture, texname[1] contains depth texture,  texname[2] contains luminance texture*/
@@ -60,6 +62,7 @@ private:
 
        bool                    isshadersupported;
        bool                    errorprinted;
+       bool                    need_tex_update;
 
        unsigned int    m_filters[MAX_RENDER_PASS];
        short           m_enabled[MAX_RENDER_PASS];