[client] opengl: fix startup since ImGui upgrade

This commit is contained in:
Geoffrey McRae 2022-01-24 06:42:16 +11:00
parent dc918c55b6
commit 1082875b8e

View File

@ -307,6 +307,7 @@ void opengl_onResize(LG_Renderer * renderer, const int width, const int height,
// this is needed to refresh the font atlas texture
ImGui_ImplOpenGL2_Shutdown();
ImGui_ImplOpenGL2_Init();
ImGui_ImplOpenGL2_NewFrame();
}