瀏覽代碼

Fixed building on visionOS

Sam Lantinga 1 周之前
父節點
當前提交
37410908c7
共有 1 個文件被更改,包括 1 次插入1 次删除
  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