X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Fframebuffer.h;h=ce36212528bb8ea5f2c5d9863fc61cb3ec810f73;hb=119d9819ac9e9a8d274d2410beffe54e470485a3;hp=437ac1afb79faeef5275df4d43403919c081cbba;hpb=d653d25b548070c688e40c052730d63345ce70c9;p=libs%2Fgl.git diff --git a/source/framebuffer.h b/source/framebuffer.h index 437ac1af..ce362125 100644 --- a/source/framebuffer.h +++ b/source/framebuffer.h @@ -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;