diff --git a/gdxapp4d-vrgem4/src/main/java/love/distributedrebirth/gdxapp4d/vrgem4/ImGuiSetup.java b/gdxapp4d-vrgem4/src/main/java/love/distributedrebirth/gdxapp4d/vrgem4/ImGuiSetup.java index a2cc46a0..f7824388 100644 --- a/gdxapp4d-vrgem4/src/main/java/love/distributedrebirth/gdxapp4d/vrgem4/ImGuiSetup.java +++ b/gdxapp4d-vrgem4/src/main/java/love/distributedrebirth/gdxapp4d/vrgem4/ImGuiSetup.java @@ -26,16 +26,16 @@ public class ImGuiSetup { public final static ImGuiImplGl3 imGuiGlImp = new ImGuiImplGl3(); public void init(List fonts, Consumer logger) { - long windowHandle = -1; + long windowHandleᕯ = -1; try { Object window = Gdx.graphics.getClass().getMethod("getWindow").invoke(Gdx.graphics); - windowHandle = (Long)window.getClass().getMethod("getWindowHandle").invoke(window); + windowHandleᕯ = (Long)window.getClass().getMethod("getWindowHandle").invoke(window); } catch (Exception e) { throw new RuntimeException(e); } ImGui.createContext(); initFonts(ImGui.getIO(), fonts, logger); - imGuiImp.init(windowHandle, true); + imGuiImp.init(windowHandleᕯ, true); imGuiGlImp.init("#version 140"); ImGui.getIO().setIniFilename(null); ImGui.getIO().setBackendFlags(ImGuiBackendFlags.RendererHasVtxOffset);