Silence compiler warning in tst_qrhi.cpp
Amends: 51979cfa172ebd89cf0235c6d8b6ccb97610c04d Pick-to: 6.9 6.8 Change-Id: Ia9c553568ba3326bb971c833839a6f9c24240046 Reviewed-by: Magdalena Stojek <magdalena.stojek@qt.io> Reviewed-by: Mate Barany <mate.barany@qt.io>
This commit is contained in:
parent
e3af89f7b4
commit
784e67926a
@ -323,6 +323,9 @@ bool tst_QRhi::isAndroidOpenGLSwiftShader(QRhi::Implementation impl, const QRhi
|
||||
#ifdef Q_OS_ANDROID
|
||||
if (impl == QRhi::OpenGLES2 && rhi->driverInfo().deviceName.contains("SwiftShader"))
|
||||
return true;
|
||||
#else
|
||||
Q_UNUSED(impl);
|
||||
Q_UNUSED(rhi);
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user