aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/graphics/je_gl.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libjin/graphics/je_gl.h')
-rw-r--r--src/libjin/graphics/je_gl.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/libjin/graphics/je_gl.h b/src/libjin/graphics/je_gl.h
index 090003c..6f88ba1 100644
--- a/src/libjin/graphics/je_gl.h
+++ b/src/libjin/graphics/je_gl.h
@@ -6,7 +6,8 @@
#include "../math/je_matrix.h"
#include "../math/je_transform.h"
-#include "GLee/GLee.h"
+//#include "GLee/GLee.h"
+#include "glad/glad.h"
#include "je_color.h"
@@ -50,11 +51,13 @@ namespace JinEngine
//int64 textureMemory;
};
- static Canvas* const DEFAULT_CANVAS;
+ static Canvas* const SCREEN;
OpenGL();
~OpenGL();
+ bool initContext();
+
void init();
void enable(GLenum cap);