summaryrefslogtreecommitdiff
path: root/src/render/gl.h
diff options
context:
space:
mode:
authorKasullian <tomkasull@gmail.com>2025-09-08 23:20:06 -0400
committerKasullian <tomkasull@gmail.com>2025-09-08 23:20:06 -0400
commitba6d14a7737ef7cd02b61586e39ca2162df3018d (patch)
treebfca13d4e4dd539fc357583ebc0347ec0c1144d0 /src/render/gl.h
parentf8b92ce3aa08b1445c9f956d8166830946562d12 (diff)
glew, map parsing for windows
Diffstat (limited to 'src/render/gl.h')
-rw-r--r--src/render/gl.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/gl.h b/src/render/gl.h
index cf2b5dd..e4e2d5a 100644
--- a/src/render/gl.h
+++ b/src/render/gl.h
@@ -1,7 +1,8 @@
#pragma once
#include <SDL.h>
-#include <GLES2/gl2.h>
+// #include <GLES2/gl2.h>
+#include <GL/glew.h>
#include "../util.h"
#include "../util/matrix.h"
@@ -68,6 +69,8 @@ typedef struct GL_DATA {
VEC2 viewport_dim;
MAT4* proj_matrix;
+
+ GLuint vao;
} *PGL_DATA;
GL_DATA* gl_instance();