summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgl_win.cpp
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2010-09-01 05:00:54 (GMT)
committerLorn Potter <lorn.potter@nokia.com>2010-09-01 05:00:54 (GMT)
commit036d7afd42ce3ca9736e173a72bc5228a1eb211d (patch)
treebbeefb4384b393e860350a8a6142fa7d27141644 /src/opengl/qgl_win.cpp
parent87bc302810b97bd647187e5e31f5276ae729dce0 (diff)
parent31e4efaf2178b81552e875eb5a1d5a894310e561 (diff)
downloadQt-036d7afd42ce3ca9736e173a72bc5228a1eb211d.zip
Qt-036d7afd42ce3ca9736e173a72bc5228a1eb211d.tar.gz
Qt-036d7afd42ce3ca9736e173a72bc5228a1eb211d.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/oslo-staging-1 into 4.7
Diffstat (limited to 'src/opengl/qgl_win.cpp')
-rw-r--r--src/opengl/qgl_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qgl_win.cpp b/src/opengl/qgl_win.cpp
index 5ab944a..8eb6177 100644
--- a/src/opengl/qgl_win.cpp
+++ b/src/opengl/qgl_win.cpp
@@ -1042,7 +1042,7 @@ int QGLContext::choosePixelFormat(void* dummyPfd, HDC pdc)
iAttributes[i++] = WGL_DRAW_TO_WINDOW_ARB;
iAttributes[i++] = TRUE;
iAttributes[i++] = WGL_COLOR_BITS_ARB;
- iAttributes[i++] = 32;
+ iAttributes[i++] = 24;
iAttributes[i++] = WGL_DOUBLE_BUFFER_ARB;
iAttributes[i++] = d->glFormat.doubleBuffer();
if (d->glFormat.stereo()) {