Befor NewSurface Fix
This commit is contained in:
@@ -77,7 +77,8 @@ const bool cVideo::Setup()
|
||||
|
||||
void cVideo::CleanUp()
|
||||
{
|
||||
SDL_DestroyWindow(mp_window);
|
||||
if (mp_window != nullptr)
|
||||
SDL_DestroyWindow(mp_window);
|
||||
mp_window = nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user