From 880beb121e76b60cdfbd59d6a04fd600532c72bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Wed, 31 Aug 2016 18:21:18 +0200 Subject: multiwindow: Call update() after swap Change-Id: Ic2c26339bce9fe92b2ccc730c72f53ce94397b78 Reviewed-by: Simon Hausmann --- tests/manual/qopenglwindow/multiwindow/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/manual/qopenglwindow') diff --git a/tests/manual/qopenglwindow/multiwindow/main.cpp b/tests/manual/qopenglwindow/multiwindow/main.cpp index 31688d717e..17442dbae5 100644 --- a/tests/manual/qopenglwindow/multiwindow/main.cpp +++ b/tests/manual/qopenglwindow/multiwindow/main.cpp @@ -83,8 +83,6 @@ public: y += 1; if (y > height() - 20) y = 20; - - update(); } public slots: @@ -95,6 +93,8 @@ public slots: framesSwapped = 0; fpsTimer.restart(); } + + update(); } protected: -- cgit v1.2.3