aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/je_gl.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2018-12-05 17:09:21 +0800
committerchai <chaifix@163.com>2018-12-05 17:09:21 +0800
commitf9e45fae6b4c1b846f7534e6692a0495d3b2f60d (patch)
tree9a59d87b24fb12f9cd249deb4beae21299ea0edf /src/libjin/graphics/je_gl.h
parentd14d3de517e3bea5470ba42a4d1646cca77c2d25 (diff)
*gl
Diffstat (limited to 'src/libjin/graphics/je_gl.h')
-rw-r--r--src/libjin/graphics/je_gl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/libjin/graphics/je_gl.h b/src/libjin/graphics/je_gl.h
index d4f1ced..b9205c6 100644
--- a/src/libjin/graphics/je_gl.h
+++ b/src/libjin/graphics/je_gl.h
@@ -166,6 +166,11 @@ namespace JinEngine
///
///
void unbindCanvas();
+
+ ///
+ ///
+ ///
+ Canvas* getCanvas();
///
///
@@ -179,6 +184,8 @@ namespace JinEngine
private:
+ static const Canvas* const DEFAULT_CANVAS;
+
///
///
///
@@ -208,8 +215,6 @@ namespace JinEngine
//struct { GLubyte r, g, b, a; } mBackColor; // previous draw color
Color mBackColor;
- GLuint mTexture; // current binded texture
-
///
///
///