aboutsummaryrefslogtreecommitdiff
path: root/src/render/canvas.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-05-17 19:10:57 +0800
committerchai <chaifix@163.com>2018-05-17 19:10:57 +0800
commit70cdd89e887641b7423e5d4d05928d14ee014aba (patch)
tree248b87ae35197a9e5941e65ef20eea359e87a5ed /src/render/canvas.h
parentdf4b054b8e8d00f7817daaa4cbf6961712cd0b75 (diff)
change file tree
Diffstat (limited to 'src/render/canvas.h')
-rw-r--r--src/render/canvas.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/render/canvas.h b/src/render/canvas.h
deleted file mode 100644
index 4600f8b..0000000
--- a/src/render/canvas.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef __JIN_CANVAS_H
-#define __JIN_CANVAS_H
-#include "drawable.h"
-namespace jin
-{
-namespace render
-{
- class Canvas: public Drawable
- {
- public:
-
- Canvas();
- ~Canvas();
-
- bool init(int w, int h);
-
- void bind();
-
- static void unbind();
-
- static bool hasbind(GLint fbo);
-
- private:
-
- GLuint fbo;
-
- // current binded fbo
- static GLint cur;
- };
-}
-}// jin
-
-#endif