[aseprite] 127/250: Add SkiaSurface::clear() impl

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:20 UTC 2015


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

thansen pushed a commit to branch master
in repository aseprite.

commit bb826c681bcf676c4a92ccee4df1c424b5a0bdec
Author: David Capello <davidcapello at gmail.com>
Date:   Fri Oct 2 17:13:49 2015 -0300

    Add SkiaSurface::clear() impl
---
 src/she/skia/skia_surface.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/she/skia/skia_surface.h b/src/she/skia/skia_surface.h
index 1f34c3f..9c9e3d9 100644
--- a/src/she/skia/skia_surface.h
+++ b/src/she/skia/skia_surface.h
@@ -161,7 +161,7 @@ public:
   }
 
   void clear() override {
-    // TODO
+    m_canvas->clear(0);
   }
 
   uint8_t* getData(int x, int y) const override {

-- 
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