From 1082875b8ec269f41189f39e520f3d14092623b1 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 24 Jan 2022 06:42:16 +1100 Subject: [PATCH] [client] opengl: fix startup since ImGui upgrade --- client/renderers/OpenGL/opengl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/renderers/OpenGL/opengl.c b/client/renderers/OpenGL/opengl.c index c623fb03..c97e1a81 100644 --- a/client/renderers/OpenGL/opengl.c +++ b/client/renderers/OpenGL/opengl.c @@ -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(); }