NDOF/X11: incorrect dynamic_cast
This commit is contained in:
parent
dd1e02432e
commit
c221717f70
|
@ -583,7 +583,7 @@ processEvents(
|
|||
}
|
||||
|
||||
#ifdef WITH_INPUT_NDOF
|
||||
if (dynamic_cast<GHOST_NDOFManagerX11 *>(m_ndofManager)->processEvents()) {
|
||||
if (static_cast<GHOST_NDOFManagerX11 *>(m_ndofManager)->processEvents()) {
|
||||
anyProcessed = true;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue