summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgl
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-11-09 02:58:48 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-11-09 02:58:48 (GMT)
commit09a123c7f9df37f82a4baab0e7ec70ebfe5444d3 (patch)
treeb3776844cbee3c3223b54d7cd836e3c1d75fbb9a /tests/auto/qgl
parentf89fc92d1da06964a890e7800caeab62579a0fb4 (diff)
downloadQt-09a123c7f9df37f82a4baab0e7ec70ebfe5444d3.zip
Qt-09a123c7f9df37f82a4baab0e7ec70ebfe5444d3.tar.gz
Qt-09a123c7f9df37f82a4baab0e7ec70ebfe5444d3.tar.bz2
Mark both the new and original EGL contexts as sharing
If we succeed in creating a shared context, then mark the original as shared as well. Reviewed-by: Sarah Smith
Diffstat (limited to 'tests/auto/qgl')
-rw-r--r--tests/auto/qgl/tst_qgl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qgl/tst_qgl.cpp b/tests/auto/qgl/tst_qgl.cpp
index 6703d4e..373cc45 100644
--- a/tests/auto/qgl/tst_qgl.cpp
+++ b/tests/auto/qgl/tst_qgl.cpp
@@ -1817,6 +1817,7 @@ void tst_QGL::shareRegister()
delete glw1;
QSKIP("Context sharing is not supported", SkipSingle);
}
+ QVERIFY(glw1->isSharing());
QVERIFY(glw1->context() != glw2->context());
// Check that the first context's resource is also on the second.