diff options
-rw-r--r-- | tests/auto/compositor/tst_compositor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/compositor/tst_compositor.cpp b/tests/auto/compositor/tst_compositor.cpp index 8656338e..44fb2ff9 100644 --- a/tests/auto/compositor/tst_compositor.cpp +++ b/tests/auto/compositor/tst_compositor.cpp @@ -210,7 +210,7 @@ void tst_WaylandCompositor::frameCallback() QTRY_COMPARE(damagedSpy.count(), i + 1); QCOMPARE(waylandSurface->image(), buffer.image); - waylandSurface->frameFinished(); + compositor.sendFrameCallbacks(QList<QWaylandSurface *>() << waylandSurface); QTRY_COMPARE(frameCounter, i + 1); } |