aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/win.c
diff options
context:
space:
mode:
authorJean Pierre Cimalando <jp-dev@inbox.ru>2020-05-28 14:43:23 +0200
committerDavid Robillard <d@drobilla.net>2020-06-08 21:18:15 +0200
commit21d8b08ecd9eb410287aa5443239283abdc2319e (patch)
treee2af74f0bc320300db2f0a5c8bdc89d42f9789e9 /pugl/detail/win.c
parent4bb9fc2c422f22765a02f3c5170c061bf4afe0f6 (diff)
downloadpugl-21d8b08ecd9eb410287aa5443239283abdc2319e.tar.gz
pugl-21d8b08ecd9eb410287aa5443239283abdc2319e.tar.bz2
pugl-21d8b08ecd9eb410287aa5443239283abdc2319e.zip
Windows: Only call SwapBuffers with OpenGL
Diffstat (limited to 'pugl/detail/win.c')
-rw-r--r--pugl/detail/win.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pugl/detail/win.c b/pugl/detail/win.c
index bacc72f..4b73c99 100644
--- a/pugl/detail/win.c
+++ b/pugl/detail/win.c
@@ -1102,7 +1102,6 @@ puglWinStubLeave(PuglView* view, const PuglEventExpose* expose)
if (expose) {
PAINTSTRUCT ps;
EndPaint(view->impl->hwnd, &ps);
- SwapBuffers(view->impl->hdc);
}
return PUGL_SUCCESS;