diff --git a/GlitchyEngine/src/Platform/Windows/WindowsWindow.bf b/GlitchyEngine/src/Platform/Windows/WindowsWindow.bf index c637c02..5e8f3b7 100644 --- a/GlitchyEngine/src/Platform/Windows/WindowsWindow.bf +++ b/GlitchyEngine/src/Platform/Windows/WindowsWindow.bf @@ -6,7 +6,6 @@ using DirectX.Windows.Kernel32; using DirectX.Windows.WindowMessages; using GlitchyEngine.Events; using System.Diagnostics; -using imgui_beef; using GlitchyEngine.Platform.DX11; using GlitchyEngine.Math; using static System.Windows; @@ -283,8 +282,6 @@ namespace GlitchyEngine.Platform.Windows { window._isResizingOrMoving = false; - DirectX.UpdateSwapchain((.)window._clientRect.Width, (.)window._clientRect.Width); - var resEvent = scope WindowResizeEvent(window._clientRect.Width, window._clientRect.Height, false); window._eventCallback(resEvent); var moveEvent = scope WindowMoveEvent(window._clientRect.X, window._clientRect.Y, false);