mirror of
https://github.com/prime31/FNA-VSCode-Template.git
synced 2026-02-01 19:10:16 +07:00
move to using nuget for ImGui.NET
This commit is contained in:
@@ -17,9 +17,9 @@ namespace Nez
|
||||
|
||||
public ImGuiFinalRenderDelegate()
|
||||
{
|
||||
var core = typeof(Core).GetField("_instance", BindingFlags.Static | BindingFlags.NonPublic).GetValue(null) as Core;
|
||||
_imGuiRenderer = new ImGuiRenderer(core);
|
||||
_imGuiRenderer = new ImGuiRenderer(Core.instance);
|
||||
_imGuiRenderer.RebuildFontAtlas();
|
||||
ImGui.GetIO().ConfigWindowsMoveFromTitleBarOnly = true;
|
||||
}
|
||||
|
||||
public void handleFinalRender( Color letterboxColor, RenderTarget2D source, Rectangle finalRenderDestinationRect, SamplerState samplerState )
|
||||
|
||||
Reference in New Issue
Block a user