Drop an unused timer
This commit is contained in:
parent
362357deae
commit
4fb110383d
1 changed files with 0 additions and 2 deletions
|
@ -390,8 +390,6 @@ void Workspace::performCompositing()
|
|||
QRegion repaints = repaints_region;
|
||||
// clear all repaints, so that post-pass can add repaints for the next repaint
|
||||
repaints_region = QRegion();
|
||||
QElapsedTimer t;
|
||||
t.start();
|
||||
if (scene->waitSyncAvailable()) {
|
||||
// vsync: paint the scene, than rebase the timer and use the duration for next timeout estimation
|
||||
scene->paint(repaints, windows);
|
||||
|
|
Loading…
Reference in a new issue