[aseprite] 229/308: Fix Skia/OS X compilation errors in skia_window_osx.mm
Tobias Hansen
thansen at moszumanska.debian.org
Tue Mar 8 02:45:14 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 e46cebe5a0fdea53bdee16255c875ba50697db2e
Author: David Capello <davidcapello at gmail.com>
Date: Fri Feb 12 14:41:54 2016 -0300
Fix Skia/OS X compilation errors in skia_window_osx.mm
---
src/she/skia/skia_window_osx.mm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/she/skia/skia_window_osx.mm b/src/she/skia/skia_window_osx.mm
index 2bad21e..52d4374 100644
--- a/src/she/skia/skia_window_osx.mm
+++ b/src/she/skia/skia_window_osx.mm
@@ -16,6 +16,7 @@
#include "she/event_queue.h"
#include "she/osx/window.h"
#include "she/skia/skia_display.h"
+#include "she/skia/skia_surface.h"
#include "she/system.h"
#include "mac/SkCGUtils.h"
@@ -160,7 +161,7 @@ public:
paintGC(rect);
break;
-#ifdef SK_SUPPORT_GPU
+#if SK_SUPPORT_GPU
case Backend::GL:
if (m_nsGL)
[m_nsGL flushBuffer];
@@ -170,7 +171,7 @@ public:
}
void onWindowChanged() override {
-#ifdef SK_SUPPORT_GPU
+#if SK_SUPPORT_GPU
if (m_nsGL)
[m_nsGL setView:[m_window contentView]];
#endif
--
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