aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick')
-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