engine: platform: nswitch: delete unused functions

This commit is contained in:
Alibek Omarov 2022-03-28 04:03:25 +03:00
parent 9a8ec780f9
commit 56f27561ce
2 changed files with 0 additions and 16 deletions

View File

@ -83,17 +83,3 @@ void NSwitch_Shutdown( void )
if ( SDL_WasInit( 0 ) )
SDL_Quit();
}
int NSwitch_GetScreenWidth( void )
{
if ( appletGetOperationMode() == AppletOperationMode_Console )
return 1920; // docked
return 1280; // undocked
}
int NSwitch_GetScreenHeight( void )
{
if ( appletGetOperationMode() == AppletOperationMode_Console )
return 1080; // docked
return 720; // undocked
}

View File

@ -48,8 +48,6 @@ void Android_SaveID( const char *id );
#if XASH_NSWITCH
void NSwitch_Init( void );
void NSwitch_Shutdown( void );
int NSwitch_GetScreenWidth( void );
int NSwitch_GetScreenHeight( void );
#endif
/*