Returning false for the BGRA8888 opengl extension for all iOS devices

This commit is contained in:
Yoshi Sugawara 2017-07-20 19:13:18 -10:00
parent 15be2d6b34
commit 4b29c9dcad
2 changed files with 3 additions and 5 deletions

View File

@ -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

View File

@ -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",