GHOST: Fix SDL backend.
We use a hidden window for each offscreen context we need. On X11 (linux) it does not show any other windows in the OS task bar but it might be the case on other operating systems (untested).
This commit is contained in:
@@ -297,7 +297,9 @@ GHOST_TSuccess GHOST_System::getButtonState(GHOST_TButtonMask mask, bool& isDown
|
||||
#ifdef WITH_INPUT_NDOF
|
||||
void GHOST_System::setNDOFDeadZone(float deadzone)
|
||||
{
|
||||
this->m_ndofManager->setDeadZone(deadzone);
|
||||
if (this->m_ndofManager) {
|
||||
this->m_ndofManager->setDeadZone(deadzone);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user