mirror of
https://github.com/libretro/RetroArch
synced 2025-02-07 03:40:24 +00:00
Merge pull request #7258 from yoshisuga/ios-startup-fix
[iOS] Comment out unsupported code for iOS for now, so that it does not crash
This commit is contained in:
commit
765e225f48
@ -299,7 +299,8 @@ static void *cocoagl_gfx_ctx_init(video_frame_info_t *video_info, void *video_dr
|
||||
{
|
||||
#if defined(HAVE_COCOATOUCH)
|
||||
case GFX_CTX_OPENGL_ES_API:
|
||||
[apple_platform setViewType:APPLE_VIEW_TYPE_OPENGL_ES];
|
||||
// setViewType is not (yet?) defined for iOS
|
||||
// [apple_platform setViewType:APPLE_VIEW_TYPE_OPENGL_ES];
|
||||
break;
|
||||
#elif defined(HAVE_COCOA)
|
||||
case GFX_CTX_OPENGL_API:
|
||||
|
@ -43,7 +43,9 @@ echo "${ITEMS}"
|
||||
|
||||
# Change the Internal Field Separator (IFS) so that spaces in paths will not cause problems below.
|
||||
SAVED_IFS=$IFS
|
||||
IFS=$(echo -en "\n\b")
|
||||
# Doing IFS=$(echo -en "\n") does not work on Xcode 10 for some reason
|
||||
IFS="
|
||||
"
|
||||
|
||||
# Loop through all items.
|
||||
for ITEM in $ITEMS;
|
||||
|
Loading…
x
Reference in New Issue
Block a user