diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_System.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_System.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/intern/ghost/intern/GHOST_System.cpp b/intern/ghost/intern/GHOST_System.cpp index 1698d2f0f31..0f5c822f4b6 100644 --- a/intern/ghost/intern/GHOST_System.cpp +++ b/intern/ghost/intern/GHOST_System.cpp @@ -214,23 +214,20 @@ bool GHOST_System::getFullScreen(void) } -bool GHOST_System::dispatchEvents() +void GHOST_System::dispatchEvents() { - bool handled = false; - #ifdef WITH_INPUT_NDOF // NDOF Motion event is sent only once per dispatch, so do it now: if (m_ndofManager) { - handled |= m_ndofManager->sendMotionEvent(); + m_ndofManager->sendMotionEvent(); } #endif if (m_eventManager) { - handled |= m_eventManager->dispatchEvents(); + m_eventManager->dispatchEvents(); } m_timerManager->fireTimers(getMilliSeconds()); - return handled; } |