This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit fda9abce334501f71041d371683b0751c11afbdd Author: David Capello <[email protected]> Date: Tue May 17 12:19:53 2016 -0300 Fix problem initializing SkiaDisplay with an invalid surface size on OS X This problem happened when Aseprite is run for the very first time on OS X (i.e. without an aseprite.ini file in the user configuration directory), as the final size of the created window might be different (smaller) than the given width/height parameters in the SkiaDisplay constructor. --- src/she/skia/skia_display.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/she/skia/skia_display.cpp b/src/she/skia/skia_display.cpp index 49760a6..25a6d99 100644 --- a/src/she/skia/skia_display.cpp +++ b/src/she/skia/skia_display.cpp @@ -24,11 +24,11 @@ SkiaDisplay::SkiaDisplay(int width, int height, int scale) , m_customSurface(false) , m_nativeCursor(kArrowCursor) { - m_surface->create(width / scale, - height / scale); m_window.setScale(scale); m_window.setVisible(true); + resetSkiaSurface(); + m_initialized = true; } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

