DescriptionCheck pixelRef before attempting to ktx encode.
If there is no pixelRef, do not attempt to dereference it.
This was caught running on Android, where we don't have the resources
folder (tracked in b/14406768). We fail to decode anything, and then
attempt to encode an SkBitmap without a pixelRef.
Committed: https://skia.googlesource.com/skia/+/c2dcf4a4a56027fd9129c1f170b79fb1af63011f
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|