Improved Define names

This commit is contained in:
Simon Lübeß
2021-10-30 14:17:17 +02:00
parent 2bc87b437a
commit 419509ab7f
30 changed files with 122 additions and 51 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ using ImGuizmo;
using internal ImGui;
#if GE_D3D11
#if GE_GRAPHICS_DX11
using GlitchyEngine.Platform.DX11;
using internal GlitchyEngine.Platform.DX11;
@@ -44,12 +44,12 @@ namespace GlitchyEngine.ImGui
style.Colors[(int)ImGui.Col.WindowBg].w = 1.0f;
}
#if GE_WINDOWS
#if BF_PLATFORM_WINDOWS
// Todo: temporary, needs to be platform independent
ImGuiImplWin32.Init((void*)(uint)(Windows.HWnd)(int)Application.Get().Window.NativeWindow);
#endif
#if GE_D3D11
#if GE_GRAPHICS_DX11
ImGuiImplDX11.Init(NativeDevice, NativeContext);
#endif
}