summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopengl.h
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2012-08-11 16:03:51 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-14 03:45:50 +0200
commitf587e8f4fd670f11fa1e878c1015d7241033559a (patch)
tree8463cbfeffe6c7d678ad26d4be573cf739a39855 /src/gui/opengl/qopengl.h
parentd8eb52fc45d0209a07b07be2c0f54a9167704574 (diff)
Avoid calling QElapsedTimer::nsecsElapsed before the first futex sleep
The first time we're going to sleep, the timeout should be exactly the value that was passed by the user. We don't need to calculate the time elapsed between start() and a few lines below. Change-Id: I99c363b6f0ecfd07ad787b79b75e61771733c2b3 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Diffstat (limited to 'src/gui/opengl/qopengl.h')
0 files changed, 0 insertions, 0 deletions