[aseprite] 47/128: Fix crash on OS X

Tobias Hansen thansen at moszumanska.debian.org
Mon May 9 21:24:22 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository aseprite.

commit f447b457db2d329fadcf8d2f6276e80730a645fd
Author: David Capello <davidcapello at gmail.com>
Date:   Thu Apr 21 13:33:24 2016 -0300

    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.
---
 src/she/skia/skia_system.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/she/skia/skia_system.h b/src/she/skia/skia_system.h
index e40e4d6..2f96549 100644
--- a/src/she/skia/skia_system.h
+++ b/src/she/skia/skia_system.h
@@ -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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git



More information about the Pkg-games-commits mailing list