fix: freeing surface that is not created
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user