[aseprite] 173/308: Fix Manager::pumpQueue() when DEBUG_PAINT_EVENTS is defined

Tobias Hansen thansen at moszumanska.debian.org
Tue Mar 8 02:45:07 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 0f28e216ba523d48af370bc38999702660f9a708
Author: David Capello <davidcapello at gmail.com>
Date:   Wed Dec 30 12:24:26 2015 -0300

    Fix Manager::pumpQueue() when DEBUG_PAINT_EVENTS is defined
---
 src/ui/manager.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/ui/manager.cpp b/src/ui/manager.cpp
index bf9d1ce..b113758 100644
--- a/src/ui/manager.cpp
+++ b/src/ui/manager.cpp
@@ -1235,8 +1235,8 @@ void Manager::pumpQueue()
             lock->fillRect(gfx::rgba(0, 0, 255), paintMsg->rect());
           }
 
-          if (!m_display->flip())
-            surface = NULL;
+          if (m_display)
+            m_display->flip(gfx::Rect(0, 0, display_w(), display_h()));
 
           base::this_thread::sleep_for(0.002);
 #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