Befor NewSurface Fix

This commit is contained in:
SumGuyV5 committed 2018-06-29 15:28:06 -04:00
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;
}