From d97078dc4162534d4d59cfdf156bc2005e6d2e95 Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sun, 24 Aug 2025 13:58:37 -0400 Subject: [PATCH] xo-imgui: ex2: bugfix: resize wsl2 window --- xo-imgui/example/ex2/imgui_ex2.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xo-imgui/example/ex2/imgui_ex2.cpp b/xo-imgui/example/ex2/imgui_ex2.cpp index cbd3c759..9e19472a 100644 --- a/xo-imgui/example/ex2/imgui_ex2.cpp +++ b/xo-imgui/example/ex2/imgui_ex2.cpp @@ -1427,6 +1427,8 @@ int main(int, char **) int w, h; SDL_GetWindowSize(window, &w, &h); glViewport(0, 0, w, h); + + break; // to force render during resize } } }