Destroy window just case of success

This commit is contained in:
Amine B. Hassouna
2018-12-02 11:39:04 +01:00
parent 0f0a9227fd
commit 97bac6e98c

View File

@@ -130,10 +130,10 @@ int main(int argc, char* argv[])
// Destroy renderer
SDL_DestroyRenderer(renderer);
}
}
// Destroy window
SDL_DestroyWindow(window);
// Destroy window
SDL_DestroyWindow(window);
}
// Quit SDL
SDL_Quit();