working on window handling

This commit is contained in:
max committed 2024-07-10 23:18:56 +02:00
1 parent 2c839d8fad
commit 42b978e8c9
3 files changed
+25 -29

No files matched your search

+1 -1
View File
@@ -136,9 +136,9 @@ public class Window
private void ProcessCloseEvent(ref SDL.SDL_WindowEvent ev)
{
OnCloseEvent?.Invoke(this);
Engine.GraphicsDevice.UnclaimWindow(this);
Dispose();
OnCloseEvent?.Invoke(this);
}
/// <summary>