#define MSP_GL_FRAMEBUFFER_BACKEND_H_
#include <string>
+#include <msp/core/noncopyable.h>
#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 &);