diff options
Diffstat (limited to 'src/render/gl.h')
| -rw-r--r-- | src/render/gl.h | 5 |
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(); |
