From 589ee7ee7014a5f8918e1d99c0e04bff4f7a83cb Mon Sep 17 00:00:00 2001 From: chai Date: Sat, 28 Jul 2018 10:39:31 +0800 Subject: *update --- src/libjin/render/canvas.h | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/libjin/render/canvas.h (limited to 'src/libjin/render/canvas.h') 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 -- cgit v1.1-26-g67d0