From 4c898b0b8b83927349553aeb5811775a713c54f9 Mon Sep 17 00:00:00 2001 From: Carlos Aragones Date: Fri, 18 Sep 2020 18:53:18 +0200 Subject: [PATCH] fix bug on Windows resize event --- src/windows/WinMiniFB.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/windows/WinMiniFB.c b/src/windows/WinMiniFB.c index 7eaf828..e7a17c5 100644 --- a/src/windows/WinMiniFB.c +++ b/src/windows/WinMiniFB.c @@ -185,7 +185,7 @@ WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) { #else resize_GL(window_data); #endif - kCall(resize_func, window_data->dst_width, window_data->dst_height); + kCall(resize_func, window_data->window_width, window_data->window_height); } break;