[client] opengl: fix startup since ImGui upgrade
This commit is contained in:
1 parent
dc918c55b6
commit
1082875b8e
1 file changed
+1
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user