diff options
author | Jan-Arve Saether <jan-arve.saether@nokia.com> | 2012-07-30 14:21:15 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-02 20:41:18 +0200 |
commit | 8632b262855585c750d43090dc4e1672370cc596 (patch) | |
tree | f62e3a4636e1f561bec4336859303ef7e8e70d02 /examples/tools | |
parent | 0e3dcf362460a2e4457f7059343d9720638360b8 (diff) | |
download | qtbase-8632b262855585c750d43090dc4e1672370cc596.tar.gz |
Use glFlush() if swapBehavior is single-buffered
Otherwise, use swapBuffers()
This fixes an issue where swapbuffers() did not swap the
"back buffer" to the "front buffer" if we had single-buffered swap
behavior.
This was an issue on Windows 7 with an NVIDIA graphics card that
by default was using single-buffered mode.
Change-Id: If53f54146e4633305be3ad5158565752b6516b59
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'examples/tools')
0 files changed, 0 insertions, 0 deletions