aboutsummaryrefslogtreecommitdiff
path: root/src/window
diff options
context:
space:
mode:
Diffstat (limited to 'src/window')
-rw-r--r--src/window/window.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window/window.c b/src/window/window.c
index 65a2509..3dbb81f 100644
--- a/src/window/window.c
+++ b/src/window/window.c
@@ -326,6 +326,7 @@ static int mgl_window_init(mgl_window *self, const char *title, const mgl_window
context->gl.glEnableClientState(GL_VERTEX_ARRAY);
context->gl.glEnableClientState(GL_TEXTURE_COORD_ARRAY);
context->gl.glEnableClientState(GL_COLOR_ARRAY);
+ context->gl.glPixelStorei(GL_UNPACK_ALIGNMENT, 1);
Window dummy_w;
int dummy_i;