ui/app: (macOS) don't release opengl context

I haven't found a reliable way to re-create the context and redraw
after deminiaturization or app unhide.

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-07-20 16:22:41 +02:00
parent 05f0c3e22a
commit cd244f21ab
3 changed files with 0 additions and 8 deletions
-5
View File
@@ -143,11 +143,6 @@ CFTypeRef gio_contextForView(CFTypeRef viewRef) {
return (__bridge CFTypeRef)view.openGLContext;
}
void gio_clearGLContext(CFTypeRef viewRef) {
NSOpenGLView *view = (__bridge NSOpenGLView *)viewRef;
[view clearGLContext];
}
void gio_clearCurrentContext(void) {
[NSOpenGLContext clearCurrentContext];
}