Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 3184075

Browse files
author
Jonah Williams
authored
Revert "[Impeller] use host image upload path on simulator" (#42212)
Reverts #42161 As reported by uses, this did not help with the issue.
1 parent 23b0431 commit 3184075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ui/painting/image_decoder_impeller.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ void ImageDecoderImpeller::Decode(fml::RefPtr<ImageDescriptor> descriptor,
452452
// texture is implemented on other platforms.
453453
sk_sp<DlImage> image;
454454
std::string decode_error;
455-
#if (FML_OS_IOS && !TARGET_IPHONE_SIMULATOR)
455+
#ifdef FML_OS_IOS
456456
std::tie(image, decode_error) = UploadTextureToPrivate(
457457
context, bitmap_result.device_buffer, bitmap_result.image_info);
458458
#else

0 commit comments

Comments
 (0)