aboutsummaryrefslogtreecommitdiff
path: root/src/window
diff options
context:
space:
mode:
Diffstat (limited to 'src/window')
-rw-r--r--src/window/window.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window/window.c b/src/window/window.c
index 80c3ccf..691a647 100644
--- a/src/window/window.c
+++ b/src/window/window.c
@@ -84,6 +84,9 @@ int mgl_window_create_with_params(mgl_window *self, const char *title, int width
context->gl.glEnable(GL_TEXTURE_2D);
context->gl.glEnable(GL_BLEND);
context->gl.glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
+ context->gl.glEnableClientState(GL_VERTEX_ARRAY);
+ context->gl.glEnableClientState(GL_COLOR_ARRAY);
+ context->gl.glEnableClientState(GL_TEXTURE_COORD_ARRAY);
XWindowAttributes gwa;
gwa.width = 0;