summaryrefslogtreecommitdiffstats
path: root/tests/manual/qopenglwindow
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2016-08-31 18:21:18 +0200
committerTor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>2016-09-19 00:42:28 +0000
commit880beb121e76b60cdfbd59d6a04fd600532c72bf (patch)
treeb5a6de21ee03ca4df016411c07de443388724b0b /tests/manual/qopenglwindow
parent44fec65624d3569144e40b394af499172c81a7a9 (diff)
multiwindow: Call update() after swap
Change-Id: Ic2c26339bce9fe92b2ccc730c72f53ce94397b78 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'tests/manual/qopenglwindow')
-rw-r--r--tests/manual/qopenglwindow/multiwindow/main.cpp4
1 files changed, 2 insertions, 2 deletions
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: