Added support for Cube Textures, Improved dds import (and textures in general), Texture refactoring and DX11 DeviceContext synchronization

This commit is contained in:
Simon Lübeß
2023-06-25 17:58:16 +02:00
parent 46693666aa
commit bb520b43ec
20 changed files with 1222 additions and 241 deletions
+5 -1
View File
@@ -142,7 +142,11 @@ namespace GlitchyEngine.ImGui
RenderCommand.BindRenderTargets();
#if GE_GRAPHICS_DX11
ImGuiImplDX11.RenderDrawData(ImGui.GetDrawData());
using (ContextMonitor.Enter())
{
ImGuiImplDX11.RenderDrawData(ImGui.GetDrawData());
}
#endif
ImGui.CleanupFrame();