From 17f244ec31697203991ec44d135219fdb6143e26 Mon Sep 17 00:00:00 2001 From: Willem Date: Fri, 4 Nov 2022 15:42:07 +0100 Subject: [PATCH] Gave native pointer the correct postfix --- .../love/distributedrebirth/gdxapp4d/vrgem4/ImGuiSetup.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);