This is an automated email from the git hooks/post-receive script. thansen pushed a commit to branch master in repository aseprite.
commit b0f53324a79dbc3f23d4e068aa75b036055538aa Author: David Capello <[email protected]> Date: Wed Apr 13 10:17:59 2016 -0300 Extra checks for an initialized SkiaDisplay for GPU support on OS X --- src/she/skia/skia_window_osx.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/she/skia/skia_window_osx.mm b/src/she/skia/skia_window_osx.mm index c5ee19d..7ce986b 100644 --- a/src/she/skia/skia_window_osx.mm +++ b/src/she/skia/skia_window_osx.mm @@ -139,7 +139,7 @@ public: } #if SK_SUPPORT_GPU - if (m_glCtx) + if (m_glCtx && m_display->isInitialized()) createRenderTarget(size); #endif @@ -149,7 +149,7 @@ public: void onDrawRect(const gfx::Rect& rect) override { #if SK_SUPPORT_GPU // Flush operations to the SkCanvas - { + if (m_display->isInitialized()) { SkiaSurface* surface = static_cast<SkiaSurface*>(m_display->getSurface()); surface->flush(); } -- 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

