Skip to content

Commit

Permalink
remove unused parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdawson committed Dec 1, 2022
1 parent 6e9d684 commit ce15d1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion addons/imgui-godot/ImGuiGodot/Internal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ public static void Init(IRenderer renderer)
}

Renderer.Init(io);
InternalViewports.Init(io);
InternalViewports.Init();
}

public static void ResetFonts()
Expand Down
2 changes: 1 addition & 1 deletion addons/imgui-godot/ImGuiGodot/InternalViewports.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ private static unsafe void InitPlatformInterface()
ImGuiPlatformIO_Set_Platform_GetWindowSize(pio, Marshal.GetFunctionPointerForDelegate(_getWindowSize));
}

public static void Init(ImGuiIOPtr io)
public static void Init()
{
_mainWindow = new(ImGui.GetMainViewport(), ImGuiLayer.Instance.GetViewport() as Window);

Expand Down

0 comments on commit ce15d1e

Please sign in to comment.