diff options
Diffstat (limited to 'tests/auto/cpptest/q3dsurface/tst_surface.cpp')
-rw-r--r-- | tests/auto/cpptest/q3dsurface/tst_surface.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/cpptest/q3dsurface/tst_surface.cpp b/tests/auto/cpptest/q3dsurface/tst_surface.cpp index 7b2d3ebb..600261d2 100644 --- a/tests/auto/cpptest/q3dsurface/tst_surface.cpp +++ b/tests/auto/cpptest/q3dsurface/tst_surface.cpp @@ -85,6 +85,10 @@ void tst_surface::construct() Q3DSurface *graph = new Q3DSurface(); QVERIFY(graph); delete graph; + + graph = new Q3DSurface(new QSurfaceFormat()); + QVERIFY(graph); + delete graph; } void tst_surface::initialProperties() |