engine: platform: sdl: always call SDL_Quit in Platform_Shutdown
This commit is contained in:
parent
b030cdb4e3
commit
342d61b283
2 changed files with 2 additions and 3 deletions
|
@ -119,7 +119,4 @@ void NSwitch_Init( void )
|
|||
void NSwitch_Shutdown( void )
|
||||
{
|
||||
printf( "%s\n", __func__ );
|
||||
// force deinit everything SDL-related to avoid issues with changing games
|
||||
if ( SDL_WasInit( 0 ) )
|
||||
SDL_Quit( );
|
||||
}
|
||||
|
|
|
@ -68,4 +68,6 @@ void SDLash_Init( void )
|
|||
void SDLash_Shutdown( void )
|
||||
{
|
||||
SDLash_FreeCursors();
|
||||
|
||||
SDL_Quit();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue