diff --git a/libretro-common/gfx/gl_capabilities.c b/libretro-common/gfx/gl_capabilities.c index 1474c8341a..27a2ffed3f 100644 --- a/libretro-common/gfx/gl_capabilities.c +++ b/libretro-common/gfx/gl_capabilities.c @@ -298,9 +298,9 @@ bool gl_check_capability(enum gl_capability_enum enum_idx) #endif break; case GL_CAPS_BGRA8888: -#ifdef TARGET_IOS_10 - /* In iOS 10 and 11, this capability is reported but is no longer working, */ - /* resulting in an error when glTexSubImage2D is called with this pixel format. */ +#ifdef TARGET_OS_IPHONE + /* In iOS, this capability is reported but is not working. */ + /* Results in an error when glTexSubImage2D is called with this pixel format. */ /* Resort to doing the pixel format conversion on the cpu */ return false; #elif HAVE_OPENGLES diff --git a/pkg/apple/RetroArch_iOS10.xcodeproj/project.pbxproj b/pkg/apple/RetroArch_iOS10.xcodeproj/project.pbxproj index 7e6e9ba881..117e54fd91 100644 --- a/pkg/apple/RetroArch_iOS10.xcodeproj/project.pbxproj +++ b/pkg/apple/RetroArch_iOS10.xcodeproj/project.pbxproj @@ -1076,7 +1076,6 @@ "-DHAVE_MFI", "-DHAVE_BTSTACK", "-DHAVE_AVFOUNDATION", - "-DTARGET_IOS_10", ); PRODUCT_BUNDLE_IDENTIFIER = com.libretro.RetroArchiOS10; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1164,7 +1163,6 @@ "-DHAVE_MFI", "-DHAVE_BTSTACK", "-DHAVE_AVFOUNDATION", - "-DTARGET_IOS_10", ); "OTHER_CFLAGS[arch=*]" = ( "-DNS_BLOCK_ASSERTIONS=1",