mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-05 21:57:20 +00:00
Fix crash on OS X
This is strange because it didn’t happen before, I’m not sure if we can call (or is “legal” to call) setURI() in this case.
This commit is contained in:
parent
7c2786164d
commit
f447b457db
@ -137,8 +137,6 @@ public:
|
||||
kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode);
|
||||
|
||||
if (res == SkImageDecoder::kSuccess) {
|
||||
bm.pixelRef()->setURI(filename);
|
||||
|
||||
SkiaSurface* sur = new SkiaSurface();
|
||||
sur->swapBitmap(bm);
|
||||
return sur;
|
||||
|
Loading…
Reference in New Issue
Block a user