diff options
| author | Andre Weissflog <floooh@gmail.com> | 2019-03-27 11:21:57 +0100 |
|---|---|---|
| committer | Andre Weissflog <floooh@gmail.com> | 2019-03-27 11:21:57 +0100 |
| commit | 355a26df1d550a0e6efd7e1f62e89d49ed694501 (patch) | |
| tree | 8d83141fd2d14130b36b38ac5928bf57b959b011 /sokol_app.h | |
| parent | b454dfd67675f250fda84fb49dae7242dbe8af35 (diff) | |
sokol_app.h: fix a new warning in macOS GL path
Diffstat (limited to 'sokol_app.h')
| -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]; |