From b2c7f26283b1740debeff2d06939c05a4a804304 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 13 Mar 2025 01:55:45 +0100 Subject: Set pack alignment to 1 --- src/window/window.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/window') diff --git a/src/window/window.c b/src/window/window.c index 4b258f9..6dbf3df 100644 --- a/src/window/window.c +++ b/src/window/window.c @@ -1018,6 +1018,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_PACK_ALIGNMENT, 1); context->gl.glPixelStorei(GL_UNPACK_ALIGNMENT, 1); Window dummy_w; -- cgit v1.2.3-70-g09d2