aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gl.c b/src/gl.c
index ead18dc..c66c9ce 100644
--- a/src/gl.c
+++ b/src/gl.c
@@ -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;
}