IrrDeviceWayland: Don't try to use non-existent wl_pointer object
This commit is contained in:
parent
9e0da6a283
commit
2aef80864a
@ -1253,6 +1253,9 @@ void CIrrDeviceWayland::createDriver()
|
||||
|
||||
void CIrrDeviceWayland::updateCursor()
|
||||
{
|
||||
if (!m_pointer)
|
||||
return;
|
||||
|
||||
if (!getCursorControl()->isVisible() && CreationParams.Fullscreen)
|
||||
{
|
||||
wl_pointer_set_cursor(m_pointer, m_enter_serial, NULL, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user