From 40fc27154fe754181934dc7ee31375e6bdfb33fc Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 23 Oct 2018 12:23:58 +0800 Subject: *merge from minimal --- src/libjin/Graphics/Canvas.h | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/libjin/Graphics/Canvas.h (limited to 'src/libjin/Graphics/Canvas.h') diff --git a/src/libjin/Graphics/Canvas.h b/src/libjin/Graphics/Canvas.h deleted file mode 100644 index 0d5635e..0000000 --- a/src/libjin/Graphics/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 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 - -#endif // JIN_MODULES_RENDER -#endif // __JIN_CANVAS_H \ No newline at end of file -- cgit v1.1-26-g67d0