If swapBehavior is TripleBuffer, set WGL_DOUBLE_BUFFER_ARB to TRUE
authorJan-Arve Saether <jan-arve.saether@nokia.com>
Fri, 20 Jul 2012 14:11:45 +0000 (16:11 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 23 Jul 2012 17:57:07 +0000 (19:57 +0200)
commit6fbf9506e6a2f8f7b4465234ca3aaab30bd695f1
treeb5755bb0c4380cd2c59446b15cb34113c71e44d1
parentbcb5e564ff302517156d881e57577f77bdc30f6e
If swapBehavior is TripleBuffer, set WGL_DOUBLE_BUFFER_ARB to TRUE

Previously, if the drivers' swap behaviour was single-buffered
it would fallthrough (just like DefaultSwapBehavior) and remain
single-buffered.

Change-Id: I4b93ad7a49094aa992d0b8fb3429c163bbbf655d
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Kim M. Kalland <kim.kalland@nokia.com>
src/plugins/platforms/windows/qwindowsglcontext.cpp