Fix QGLWidget::renderPixmap() on Windows.
authorTrond Kjernaasen <trond@trolltech.com>
Thu, 14 Jan 2010 10:07:25 +0000 (11:07 +0100)
committerTrond Kjernaasen <trond@trolltech.com>
Thu, 14 Jan 2010 10:07:25 +0000 (11:07 +0100)
commit9baeb2fc297a7a30bb467ea0d1986c7fecea2e58
tree29737acfac2176f737793f8f5da05c38bff2329d
parentd8cadc2c9333f5b797fab87c1aa9fc9952603935
Fix QGLWidget::renderPixmap() on Windows.

Using renderPixmap() with scenes that contained textures might not work
due to the wrong texture format being used under certain circumstances.

Task-number: QTBUG-7213
Reviewed-by: Gunnar
src/opengl/qgl.cpp