mirror of https://github.com/qt/qtbase.git
tst_qrhi: use OpenGL instead of raster pipeline on webOS
Raster pipeline is not supported on webOS OSE: trying to use it causes an exit(1). Fixes: QTBUG-100654 Pick-to: 6.3 Change-Id: I00325fc1330a2d0d4abfdee054343ecfac767309 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
65b62d2d5c
commit
9a7e55dcbe
|
@ -223,7 +223,10 @@ void tst_QRhi::rhiTestData()
|
|||
QTest::addColumn<QRhi::Implementation>("impl");
|
||||
QTest::addColumn<QRhiInitParams *>("initParams");
|
||||
|
||||
// webOS does not support raster (software) pipeline
|
||||
#ifndef Q_OS_WEBOS
|
||||
QTest::newRow("Null") << QRhi::Null << static_cast<QRhiInitParams *>(&initParams.null);
|
||||
#endif
|
||||
#ifdef TST_GL
|
||||
QTest::newRow("OpenGL") << QRhi::OpenGLES2 << static_cast<QRhiInitParams *>(&initParams.gl);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue