Add SDL_IsTV() (#11004)

Moved SDL_IsAndroidTV() out of public API, to match SDL_IsAndroidTablet().

Added SDL_IsTV(), to mirror existing SDL_IsTablet().
This commit is contained in:
Anthony 2024-10-01 17:20:00 +01:00 committed by GitHub
parent 6bcf2f919a
commit 5f5379dc99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 41 additions and 20 deletions

View file

@ -188,13 +188,6 @@ int SDL_GetAndroidSDKVersion(void)
return SDL_Unsupported();
}
SDL_DECLSPEC bool SDLCALL SDL_IsAndroidTV(void);
bool SDL_IsAndroidTV(void)
{
SDL_Unsupported();
return false;
}
SDL_DECLSPEC bool SDLCALL SDL_IsChromebook(void);
bool SDL_IsChromebook(void)
{