aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-06-27 21:23:48 +0200
committerDavid Robillard <d@drobilla.net>2019-06-27 22:46:44 +0200
commitb0d931d600786a8988c49175c206fe758842a5ad (patch)
tree6ac5d1bf7ee0a803c0d2789403b0f714b5e9be79
parentcb67b9a7802af3c286315cfa684c9382130dc79c (diff)
downloadpugl-b0d931d600786a8988c49175c206fe758842a5ad.tar.gz
pugl-b0d931d600786a8988c49175c206fe758842a5ad.tar.bz2
pugl-b0d931d600786a8988c49175c206fe758842a5ad.zip
Remove redundant glFlush on Windows
-rw-r--r--pugl/pugl_win.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/pugl/pugl_win.cpp b/pugl/pugl_win.cpp
index d0d91d6..6185c91 100644
--- a/pugl/pugl_win.cpp
+++ b/pugl/pugl_win.cpp
@@ -84,7 +84,6 @@ puglLeaveContext(PuglView* view, bool flush)
{
#ifdef PUGL_HAVE_GL
if (view->ctx_type == PUGL_GL && flush) {
- glFlush();
SwapBuffers(view->impl->hdc);
}
#endif