X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fframebuffer.h;h=ce36212528bb8ea5f2c5d9863fc61cb3ec810f73;hb=119d9819ac9e9a8d274d2410beffe54e470485a3;hp=8563d2f98418d0f315720a9e4b734a3dc6c58817;hpb=4324df6e3d807d35e02e828320e436c509275520;p=libs%2Fgl.git diff --git a/source/framebuffer.h b/source/framebuffer.h index 8563d2f9..ce362125 100644 --- a/source/framebuffer.h +++ b/source/framebuffer.h @@ -8,7 +8,7 @@ Distributed under the LGPL #ifndef MSP_GL_FRAMEBUFFER_H_ #define MSP_GL_FRAMEBUFFER_H_ -#include +#include "gl.h" #include "types.h" namespace Msp { @@ -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;