summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2017-01-11 18:32:16 +0100
committerPierre Ossman <ossman@cendio.se>2017-01-11 18:40:48 +0100
commit0f626ad79a1259904db70f12ba1682910d9155c8 (patch)
treea0a12d25ab7b33f6bb25fe6d0b86e7cf1ad5332f /tests
parent712cf8673d6e57442f41636e44020f5e1839c7f8 (diff)
downloadtigervnc-0f626ad79a1259904db70f12ba1682910d9155c8.tar.gz
tigervnc-0f626ad79a1259904db70f12ba1682910d9155c8.zip
Do explict sync after XShmPutImage()
The complex logic waiting for events didn't result in any added performance, so use the simpler approach.
Diffstat (limited to 'tests')
-rw-r--r--tests/fbperf.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/fbperf.cxx b/tests/fbperf.cxx
index 53334a6d..4759a2f3 100644
--- a/tests/fbperf.cxx
+++ b/tests/fbperf.cxx
@@ -136,9 +136,6 @@ void TestWindow::update()
startTimeCounter();
- while (fb->isRendering())
- Fl::wait();
-
changefb();
r = fb->getDamage();