From 0f626ad79a1259904db70f12ba1682910d9155c8 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Wed, 11 Jan 2017 18:32:16 +0100 Subject: Do explict sync after XShmPutImage() The complex logic waiting for events didn't result in any added performance, so use the simpler approach. --- tests/fbperf.cxx | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests') 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(); -- cgit v1.2.3