From 21d8b08ecd9eb410287aa5443239283abdc2319e Mon Sep 17 00:00:00 2001 From: Jean Pierre Cimalando Date: Thu, 28 May 2020 14:43:23 +0200 Subject: Windows: Only call SwapBuffers with OpenGL --- pugl/detail/win.c | 1 - 1 file changed, 1 deletion(-) (limited to 'pugl/detail/win.c') 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; -- cgit v1.2.1