From 72e8ae6e30db2a8c77f3e324846d16b06352700a Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Wed, 17 Apr 2024 09:58:03 -0700 Subject: [PATCH] actually do redraw on resize - need that win32 window class style.. --- src/os/gfx/win32/os_gfx_win32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/gfx/win32/os_gfx_win32.c b/src/os/gfx/win32/os_gfx_win32.c index d1d381e9..e94e07df 100644 --- a/src/os/gfx/win32/os_gfx_win32.c +++ b/src/os/gfx/win32/os_gfx_win32.c @@ -846,6 +846,7 @@ os_graphical_init(void) wndclass.lpszClassName = L"graphical-window"; wndclass.hCursor = LoadCursorA(0, IDC_ARROW); wndclass.hIcon = LoadIcon(w32_h_instance, MAKEINTRESOURCE(1)); + wndclass.style = CS_VREDRAW|CS_HREDRAW; ATOM wndatom = RegisterClassExW(&wndclass); (void)wndatom; }