]> git.tdb.fi Git - libs/gl.git/blobdiff - source/framebuffer.h
Add post-processing effect framework
[libs/gl.git] / source / framebuffer.h
index 437ac1afb79faeef5275df4d43403919c081cbba..ce36212528bb8ea5f2c5d9863fc61cb3ec810f73 100644 (file)
@@ -55,7 +55,7 @@ class Framebuffer
 private:
        uint id;
 
-       static const Framebuffer *current;
+       static const Framebuffer *cur_fbo;
 
 public:
        Framebuffer();
@@ -73,6 +73,7 @@ public:
        */
        FramebufferStatus check_status() const;
 
+       static const Framebuffer *current();
        static void unbind();
 private:
        void maybe_bind() const;