Skip to content

Commit 9b4159c

Browse files
committed
remove non-existent function calls
`ImGui_ImplOpenGL3_DestroyFontsTexture` and `ImGui_ImplOpenGL3_CreateFontsTexture` were removed on 04.06.2025
1 parent b1f5ae8 commit 9b4159c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/render/opengl/gl_engine_glfw.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,14 +169,8 @@ void GLEngineGLFW::configureImGui() {
169169
ImGuiIO& io = ImGui::GetIO();
170170
io.Fonts->Clear();
171171

172-
// these are necessary if different fonts are loaded in the callback
173-
// (don't totally understand why, allegedly it may change in the future)
174-
ImGui_ImplOpenGL3_DestroyFontsTexture();
175-
176172
ImFontAtlas* _unused;
177173
std::tie(_unused, regularFont, monoFont) = options::prepareImGuiFontsCallback();
178-
179-
ImGui_ImplOpenGL3_CreateFontsTexture();
180174
}
181175

182176

0 commit comments

Comments
 (0)