diff options
-rw-r--r-- | pugl/detail/win.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pugl/detail/win.c b/pugl/detail/win.c index 1203bca..f1ab339 100644 --- a/pugl/detail/win.c +++ b/pugl/detail/win.c @@ -516,9 +516,7 @@ handleMessage(PuglView* view, UINT message, WPARAM wParam, LPARAM lParam) break; case WM_SIZE: rect = handleConfigure(view, &event); - RedrawWindow(view->impl->hwnd, NULL, NULL, - RDW_INVALIDATE|RDW_ALLCHILDREN|RDW_INTERNALPAINT| - RDW_UPDATENOW); + InvalidateRect(view->impl->hwnd, NULL, false); break; case WM_SIZING: if (view->min_aspect_x) { |