#ifndef MSP_GL_FRAMEBUFFER_H_
#define MSP_GL_FRAMEBUFFER_H_
+#include "gl.h"
#include "types.h"
namespace Msp {
private:
uint id;
- static const Framebuffer *current;
+ static const Framebuffer *cur_fbo;
public:
Framebuffer();
*/
FramebufferStatus check_status() const;
+ static const Framebuffer *current();
static void unbind();
private:
void maybe_bind() const;