summaryrefslogtreecommitdiffstats
path: root/examples/tools/undoframework/diagramitem.cpp
diff options
context:
space:
mode:
authorJan-Arve Saether <jan-arve.saether@nokia.com>2012-07-30 14:21:15 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-02 20:41:18 +0200
commit8632b262855585c750d43090dc4e1672370cc596 (patch)
treef62e3a4636e1f561bec4336859303ef7e8e70d02 /examples/tools/undoframework/diagramitem.cpp
parent0e3dcf362460a2e4457f7059343d9720638360b8 (diff)
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/undoframework/diagramitem.cpp')
0 files changed, 0 insertions, 0 deletions