SDL_GetPlatform() returns "visionOS" on visionOS
This commit is contained in:
1 parent
1209abf9dc
commit
0c5655940c
1 file changed
+2
@@ -760,6 +760,8 @@ const char *SDL_GetPlatform(void)
|
|||||||
return "Xbox One";
|
return "Xbox One";
|
||||||
#elif defined(SDL_PLATFORM_XBOXSERIES)
|
#elif defined(SDL_PLATFORM_XBOXSERIES)
|
||||||
return "Xbox Series X|S";
|
return "Xbox Series X|S";
|
||||||
|
#elif defined(SDL_PLATFORM_VISIONOS)
|
||||||
|
return "visionOS";
|
||||||
#elif defined(SDL_PLATFORM_IOS)
|
#elif defined(SDL_PLATFORM_IOS)
|
||||||
return "iOS";
|
return "iOS";
|
||||||
#elif defined(SDL_PLATFORM_TVOS)
|
#elif defined(SDL_PLATFORM_TVOS)
|
||||||
|
|||||||
Reference in new issue
Block a user