Added VisionOS as a supported target to the Xcode project
Also added SDL_PLATFORM_VISIONOS to the platform definitions and generally switched from TARGET_OS_* macros to SDL_PLATFORM_* macros.
This commit is contained in:
1 parent
7a7875c904
commit
b9ea2dde44
23 files changed
+141
-136
No files matched your search
@@ -30,7 +30,7 @@ int SDL_SYS_OpenURL(const char *url)
|
||||
{
|
||||
@autoreleasepool {
|
||||
|
||||
#if TARGET_OS_XR
|
||||
#ifdef SDL_PLATFORM_VISIONOS
|
||||
return SDL_Unsupported(); // openURL is not suported on visionOS
|
||||
#else
|
||||
NSString *nsstr = [NSString stringWithUTF8String:url];
|
||||
|
||||
Reference in new issue
Block a user