aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mac_gl.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mac_gl.m b/src/mac_gl.m
index 039dbbf..3e74afe 100644
--- a/src/mac_gl.m
+++ b/src/mac_gl.m
@@ -94,6 +94,7 @@
if (self) {
[[self openGLContext] makeCurrentContext];
[self reshape];
+ [NSOpenGLContext clearCurrentContext];
}
return self;
}