aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/Canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/Graphics/Canvas.h')
-rw-r--r--src/libjin/Graphics/Canvas.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/libjin/Graphics/Canvas.h b/src/libjin/Graphics/Canvas.h
index 0d5635e..4e86e50 100644
--- a/src/libjin/Graphics/Canvas.h
+++ b/src/libjin/Graphics/Canvas.h
@@ -11,27 +11,18 @@ namespace graphics
class Canvas: public Drawable
{
public:
-
static Canvas* createCanvas(int w, int h);
-
~Canvas();
-
+
void bind();
-
static void unbind();
-
static bool hasbind(GLint fbo);
protected:
-
Canvas(int w, int h);
GLuint fbo;
-
- // current binded fbo
static GLint cur;
-
- bool init();
};
} // render
} // jin