aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail')
-rw-r--r--pugl/detail/win.c1
-rw-r--r--pugl/detail/win_cairo.c1
2 files changed, 0 insertions, 2 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;
diff --git a/pugl/detail/win_cairo.c b/pugl/detail/win_cairo.c
index 7653e8b..9d7b4a3 100644
--- a/pugl/detail/win_cairo.c
+++ b/pugl/detail/win_cairo.c
@@ -153,7 +153,6 @@ puglWinCairoLeave(PuglView* view, const PuglEventExpose* expose)
PAINTSTRUCT ps;
EndPaint(view->impl->hwnd, &ps);
- SwapBuffers(view->impl->hdc);
}
return PUGL_SUCCESS;