diff options
| -rw-r--r-- | sokol_app.h | 1 |
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]; |