X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fbackends%2Fopengl%2Fframebuffer_backend.h;h=24f43441b3aacb333821cb7d7823edf81b318153;hb=8a8cce8ef4ee28b3572a72958b8b407759f9f826;hp=090071f7caddb2ab416a576923d7b696c672e390;hpb=b9e720f36185c6fe4d39a1056ecb88dec0ce950d;p=libs%2Fgl.git diff --git a/source/backends/opengl/framebuffer_backend.h b/source/backends/opengl/framebuffer_backend.h index 090071f7..24f43441 100644 --- a/source/backends/opengl/framebuffer_backend.h +++ b/source/backends/opengl/framebuffer_backend.h @@ -2,21 +2,23 @@ #define MSP_GL_FRAMEBUFFER_BACKEND_H_ #include +#include #include "frameformat.h" namespace Msp { namespace GL { -class OpenGLFramebuffer +class OpenGLFramebuffer: public NonCopyable { friend class OpenGLCommands; friend class OpenGLPipelineState; protected: - unsigned id; + unsigned id = 0; mutable unsigned status; OpenGLFramebuffer(bool); + OpenGLFramebuffer(OpenGLFramebuffer &&); ~OpenGLFramebuffer(); void set_system_format(const FrameFormat &);