testdrawchessboard: clean up renderer and window
parent
4f0642bf47
commit
183606d3d4
|
@ -151,6 +151,9 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
#endif
|
||||
|
||||
SDL_DestroyRenderer(renderer);
|
||||
SDL_DestroyWindow(window);
|
||||
|
||||
SDL_Quit();
|
||||
SDLTest_CommonDestroyState(state);
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue