eglfs_kms: Fix build with -no-opengl
This patch amends 259adc5e77a40bc8f0b7e4c17f7a38bfc4ad511b Change-Id: Ie8d8a8e0817cea455eb1fe14501e8429d29428b8 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
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;
|
||||
}
|
||||
|
@ -290,6 +290,8 @@ QPlatformCursor *QEglFSKmsEglDeviceIntegration::createCursor(QPlatformScreen *sc
|
||||
#if QT_CONFIG(opengl)
|
||||
if (screenConfig()->separateScreens())
|
||||
return new QEglFSCursor(screen);
|
||||
#else
|
||||
Q_UNUSED(screen);
|
||||
#endif
|
||||
return nullptr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user