[aseprite] 149/250: Add missing #if/endif SK_SUPPORT_GPU

Tobias Hansen thansen at moszumanska.debian.org
Sun Dec 20 15:27:23 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 7a00a0bfcac5aa739b8b8d5b44a224a2e46f5bc2
Author: David Capello <davidcapello at gmail.com>
Date:   Fri Oct 9 19:48:31 2015 -0300

    Add missing #if/endif SK_SUPPORT_GPU
---
 src/she/skia/skia_window_win.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/she/skia/skia_window_win.cpp b/src/she/skia/skia_window_win.cpp
index e04260b..647a001 100644
--- a/src/she/skia/skia_window_win.cpp
+++ b/src/she/skia/skia_window_win.cpp
@@ -246,8 +246,10 @@ void SkiaWindow::resizeImpl(const gfx::Size& size)
     m_backend = Backend::NONE;
   }
 
+#if SK_SUPPORT_GPU
   if (m_glCtx)
     createRenderTarget(size);
+#endif
 
   m_display->resize(size);
 }

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