move to using nuget for ImGui.NET

This commit is contained in:
Mike
2019-02-14 14:36:47 -08:00
parent 00a70f8f1e
commit 1f1ef82697
4 changed files with 18 additions and 58 deletions

View File

@@ -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 )