mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 13:01:52 +00:00
Release build fixes + ImGui build flag
Fonts still not working
This commit is contained in:
@@ -194,7 +194,7 @@ namespace GlitchyEngine.ImGui
|
||||
//var v = DirectX.ImmediateContext;
|
||||
//v.OutputMerger.SetRenderTargets(1, &DirectX.BackBufferTarget, null);
|
||||
Application.Get().Window.Context.SetRenderTarget(null);
|
||||
|
||||
|
||||
ImGuiImplDX11.NewFrame();
|
||||
ImGuiImplWin32.NewFrame();
|
||||
ImGui.NewFrame();
|
||||
@@ -229,7 +229,10 @@ namespace GlitchyEngine.ImGui
|
||||
io.DisplaySize = .(window.Width, window.Height);
|
||||
|
||||
ImGui.Render();
|
||||
|
||||
#if GE_GRAPHICS_DX11
|
||||
ImGuiImplDX11.RenderDrawData(ImGui.GetDrawData());
|
||||
#endif
|
||||
|
||||
ImGui.CleanupFrame();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user