From 9e815f37a0124ae91ed726f6207ed9bf338e0028 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Wed, 28 Sep 2022 00:55:22 +0200 Subject: Dont use const, wtf --- src/gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/gl.c b/src/gl.c index c66c9ce..0dc76b9 100644 --- a/src/gl.c +++ b/src/gl.c @@ -30,7 +30,7 @@ int mgl_gl_load(mgl_gl *self) { return -1; } - const dlsym_assign required_dlsym[] = { + dlsym_assign required_dlsym[] = { { &self->glXCreateNewContext, "glXCreateNewContext" }, { &self->glXMakeContextCurrent, "glXMakeContextCurrent" }, { &self->glXDestroyContext, "glXDestroyContext" }, -- cgit v1.2.3