eglfs_kms: Fix build with -no-opengl
This patch amends 259adc5e77
Change-Id: Ie8d8a8e0817cea455eb1fe14501e8429d29428b8
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
bb10
parent
f43f636f50
commit
30e665f747
|
|
@ -118,6 +118,8 @@ QPlatformCursor *QEglFSKmsGbmIntegration::createCursor(QPlatformScreen *screen)
|
|||
qCDebug(qLcEglfsKmsDebug, "Using plain OpenGL mouse cursor");
|
||||
return new QEglFSCursor(screen);
|
||||
}
|
||||
#else
|
||||
Q_UNUSED(screen);
|
||||
#endif
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -289,7 +289,9 @@ QPlatformCursor *QEglFSKmsEglDeviceIntegration::createCursor(QPlatformScreen *sc
|
|||
{
|
||||
#if QT_CONFIG(opengl)
|
||||
if (screenConfig()->separateScreens())
|
||||
return new QEglFSCursor(screen);
|
||||
return new QEglFSCursor(screen);
|
||||
#else
|
||||
Q_UNUSED(screen);
|
||||
#endif
|
||||
return nullptr;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue