From f9e45fae6b4c1b846f7534e6692a0495d3b2f60d Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 5 Dec 2018 17:09:21 +0800 Subject: *gl --- src/libjin/graphics/je_gl.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/libjin/graphics/je_gl.h') 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 - /// /// /// -- cgit v1.1-26-g67d0