mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-29 19:20:09 +00:00
Fix Manager::pumpQueue() when DEBUG_PAINT_EVENTS is defined
This commit is contained in:
parent
e97a7070d6
commit
0f28e216ba
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user