Jelajahi Sumber

Fixed building on visionOS

Sam Lantinga 1 Minggu lalu
induk
melakukan
37410908c7
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      include/build_config/SDL_build_config_ios.h

+ 1 - 1
include/build_config/SDL_build_config_ios.h

@@ -214,7 +214,7 @@
 #define SDL_FSOPS_POSIX 1
 
 /* enable camera support */
-#ifndef SDL_PLATFORM_TVOS
+#if !defined(SDL_PLATFORM_TVOS) && !defined(SDL_PLATFORM_VISIONOS)
 #define SDL_CAMERA_DRIVER_COREMEDIA 1
 #endif