Skip to content

Commit 2bee8b2

Browse files
Enable software rendering for iOS devices
1 parent 494140f commit 2bee8b2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

shell/platform/darwin/ios/rendering_api_selection.mm

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,9 @@ bool ShouldUseMetalRenderer() {
2929
}
3030

3131
IOSRenderingAPI GetRenderingAPIForProcess(bool force_software) {
32-
#if TARGET_OS_SIMULATOR
3332
if (force_software) {
3433
return IOSRenderingAPI::kSoftware;
3534
}
36-
#else
37-
if (force_software) {
38-
FML_LOG(WARNING) << "The --enable-software-rendering is only supported on Simulator targets "
39-
"and will be ignored.";
40-
}
41-
#endif // TARGET_OS_SIMULATOR
4235

4336
static bool should_use_metal = ShouldUseMetalRenderer();
4437
if (should_use_metal) {

0 commit comments

Comments
 (0)