aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-09 17:14:11 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-04-10 23:10:50 +0200
commit8e0ae95999ea83da0ec5f5d928b4ca6b610628af (patch)
tree32872c0d31273eba6a8640970f8c19a4347e6e25 /tests
parent09a0ba13232420c87ae40e2fc4f0491d372b2164 (diff)
Fix build of rendercontrol test on Android
Amends 8e45b822d4e880f4625da542abb1cc016b1ab2e4, which for some reason made it through CI, presumably because we don't build for Android with a private_tests configuration in CI. Task-number: QTBUG-122292 Change-Id: If6f12364565f6c4aca812a09019c6decbcbdfe60 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/quick/qquickrendercontrol/tst_qquickrendercontrol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/quick/qquickrendercontrol/tst_qquickrendercontrol.cpp b/tests/auto/quick/qquickrendercontrol/tst_qquickrendercontrol.cpp
index 260b9ba806..938f0a12b2 100644
--- a/tests/auto/quick/qquickrendercontrol/tst_qquickrendercontrol.cpp
+++ b/tests/auto/quick/qquickrendercontrol/tst_qquickrendercontrol.cpp
@@ -692,7 +692,7 @@ void tst_RenderControl::renderAndReadBackWithVulkanAndCustomDepthTexture()
QQuickWindow::setGraphicsApi(QSGRendererInterface::Vulkan);
#ifdef Q_OS_ANDROID
- if (api == QSGRendererInterface::Vulkan)
+ if (QQuickWindow::graphicsApi() == QSGRendererInterface::Vulkan)
QSKIP("Vulkan support is broken in Android emulator, skipping");
#endif