summaryrefslogtreecommitdiff
path: root/sokol_app.h
diff options
context:
space:
mode:
authorAndre Weissflog <floooh@gmail.com>2019-10-20 14:00:34 +0200
committerAndre Weissflog <floooh@gmail.com>2019-10-20 14:00:45 +0200
commitb9490494987a9738a4dda484e8dda5df0dab217c (patch)
tree0390d8ff6af6267f35b4fd366cf7c6c9aac16eba /sokol_app.h
parentd4b3a599b95d7892dc6de3f6dedc0888f9ced1d1 (diff)
sokol_app.h GL/macOS: remove redundant glFlush()
fixes #224
Diffstat (limited to 'sokol_app.h')
-rw-r--r--sokol_app.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sokol_app.h b/sokol_app.h
index 038957fb..bb2fb771 100644
--- a/sokol_app.h
+++ b/sokol_app.h
@@ -1511,7 +1511,6 @@ _SOKOL_PRIVATE void _sapp_macos_app_event(sapp_event_type type) {
}
- (void)drawRect:(NSRect)bound {
_sapp_macos_frame();
- glFlush();
[[_sapp_view_obj openGLContext] flushBuffer];
}
#endif