Befor NewSurface Fix
This commit is contained in:
1 parent
0a17c2cfe7
commit
f85ff9fa96
10 files changed
+94
-22
No files matched your search
@@ -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