aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-03-27 11:21:57 +0100
committerAndre Weissflog <floooh@gmail.com>2019-03-27 11:21:57 +0100
commit355a26df1d550a0e6efd7e1f62e89d49ed694501 (patch)
tree8d83141fd2d14130b36b38ac5928bf57b959b011
parentb454dfd67675f250fda84fb49dae7242dbe8af35 (diff)
sokol_app.h: fix a new warning in macOS GL path
-rw-r--r--sokol_app.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sokol_app.h b/sokol_app.h
index f48e7522..6fd23f94 100644
--- a/sokol_app.h
+++ b/sokol_app.h
@@ -1326,6 +1326,7 @@ _SOKOL_PRIVATE void _sapp_macos_app_event(sapp_event_type type) {
[self setNeedsDisplay:YES];
}
- (void)prepareOpenGL {
+ [super prepareOpenGL];
GLint swapInt = 1;
NSOpenGLContext* ctx = [_sapp_view_obj openGLContext];
[ctx setValues:&swapInt forParameter:NSOpenGLContextParameterSwapInterval];