aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/scenegraph
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-06-01 09:58:27 +0200
committerLaszlo Agocs <laszlo.agocs@theqtcompany.com>2016-06-01 10:32:12 +0000
commitb34296671b0a1a314153cefd817c06478839d65d (patch)
tree30478f10a99e64762f789258202caa308af8b571 /tests/auto/quick/scenegraph
parent6f6983aed09a8dce72848b0cf3e3540a04306b08 (diff)
Change graphicsAPI to graphicsApi
Change-Id: I065f17abd1cb71cd8d6ead76abf7a544eb7a99c0 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'tests/auto/quick/scenegraph')
-rw-r--r--tests/auto/quick/scenegraph/tst_scenegraph.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/scenegraph/tst_scenegraph.cpp b/tests/auto/quick/scenegraph/tst_scenegraph.cpp
index 86f971041f..c0d1b53e92 100644
--- a/tests/auto/quick/scenegraph/tst_scenegraph.cpp
+++ b/tests/auto/quick/scenegraph/tst_scenegraph.cpp
@@ -439,7 +439,7 @@ void tst_SceneGraph::render()
QQuickView dummy;
dummy.show();
QTest::qWaitForWindowExposed(&dummy);
- if (dummy.rendererInterface()->graphicsAPI() != QSGRendererInterface::OpenGL)
+ if (dummy.rendererInterface()->graphicsApi() != QSGRendererInterface::OpenGL)
QSKIP("Skipping complex rendering tests due to not running with OpenGL");
dummy.hide();
@@ -506,7 +506,7 @@ void tst_SceneGraph::hideWithOtherContext()
view.show();
QVERIFY(QTest::qWaitForWindowExposed(&view));
- if (view.rendererInterface()->graphicsAPI() != QSGRendererInterface::OpenGL)
+ if (view.rendererInterface()->graphicsApi() != QSGRendererInterface::OpenGL)
QSKIP("Skipping OpenGL context test due to not running with OpenGL");
renderingOnMainThread = view.openglContext()->thread() == QGuiApplication::instance()->thread();