aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/render/canvas.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/render/canvas.h')
-rw-r--r--src/libjin/render/canvas.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/src/libjin/render/canvas.h b/src/libjin/render/canvas.h
deleted file mode 100644
index 9afa42d..0000000
--- a/src/libjin/render/canvas.h
+++ /dev/null
@@ -1,40 +0,0 @@
-#ifndef __JIN_CANVAS_H
-#define __JIN_CANVAS_H
-#include "../modules.h"
-#if JIN_MODULES_RENDER
-
-#include "drawable.h"
-namespace jin
-{
-namespace render
-{
- class Canvas: public Drawable
- {
- public:
-
- static Canvas* createCanvas(int w, int h);
-
- ~Canvas();
-
- void bind();
-
- static void unbind();
-
- static bool hasbind(GLint fbo);
-
- private:
-
- Canvas(int w, int h);
-
- GLuint fbo;
-
- // current binded fbo
- static GLint cur;
-
- bool init();
- };
-} // render
-} // jin
-
-#endif // JIN_MODULES_RENDER
-#endif // __JIN_CANVAS_H \ No newline at end of file