diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-07-03 11:45:49 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-07-03 11:45:49 (GMT) |
commit | 9b4234d567804e8f503951e8d0c96e95f5dbec48 (patch) | |
tree | 6faece6bc60e70c6dc2bb043170364ce86a6a608 /src | |
parent | 88a0857ac76c803d4f88204fe74448e140bbf300 (diff) | |
download | Qt-9b4234d567804e8f503951e8d0c96e95f5dbec48.zip Qt-9b4234d567804e8f503951e8d0c96e95f5dbec48.tar.gz Qt-9b4234d567804e8f503951e8d0c96e95f5dbec48.tar.bz2 |
Enabled double buffering of window surfaces on Windows.
Without this, QWindowSurface::flush() doesn't work.
Reviewed-by: Samuel
Diffstat (limited to 'src')
-rw-r--r-- | src/opengl/qwindowsurface_gl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp index 3a7a07e..eec725e 100644 --- a/src/opengl/qwindowsurface_gl.cpp +++ b/src/opengl/qwindowsurface_gl.cpp @@ -171,7 +171,7 @@ QGLGraphicsSystem::QGLGraphicsSystem() } } #elif defined(Q_WS_WIN) - QGLWindowSurface::surfaceFormat.setDoubleBuffer(false); + QGLWindowSurface::surfaceFormat.setDoubleBuffer(true); qt_win_owndc_required = true; #endif |