diff options
Diffstat (limited to 'tests/auto/quick/scenegraph/tst_scenegraph.cpp')
-rw-r--r-- | tests/auto/quick/scenegraph/tst_scenegraph.cpp | 4 |
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 4f24acc48c..7189fda8b7 100644 --- a/tests/auto/quick/scenegraph/tst_scenegraph.cpp +++ b/tests/auto/quick/scenegraph/tst_scenegraph.cpp @@ -222,7 +222,7 @@ void tst_SceneGraph::manyWindows() QOpenGLContext sharedGLContext; ShareContextResetter cleanup; // To avoid dangling pointer in case of test-failure. if (shared) { - sharedGLContext.create(); + QVERIFY(sharedGLContext.create()); QOpenGLContextPrivate::setGlobalShareContext(&sharedGLContext); } @@ -459,7 +459,7 @@ void tst_SceneGraph::hideWithOtherContext() window.resize(100, 100); window.create(); QOpenGLContext context; - context.create(); + QVERIFY(context.create()); bool renderingOnMainThread = false; { |