diff options
Diffstat (limited to 'src/gl.c')
-rw-r--r-- | src/gl.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -100,7 +100,7 @@ int mgl_gl_load(mgl_gl *self) { for(int i = 0; required_dlsym[i].func; ++i) { *required_dlsym[i].func = dlsym_print_fail(self->handle, required_dlsym[i].name, 1); - if(!required_dlsym[i].func) { + if(!*required_dlsym[i].func) { mgl_gl_unload(self); return -1; } |