fix: freeing surface that is not created

This commit is contained in:
2026-02-25 09:43:05 +01:00
parent 8788706c0d
commit 33e9586487
6 changed files with 17 additions and 4 deletions

View File

@@ -164,7 +164,7 @@ void Application::Shutdown() {
SDL_DestroyRenderer(m_Renderer);
SDL_FreeSurface(m_Surface);
// SDL_FreeSurface(m_Surface);
// Destroy window
SDL_DestroyWindow(m_Window);