From e48e50c460434c451c67403390d98f7418c77cce Mon Sep 17 00:00:00 2001 From: Jonathan Liu Date: Wed, 25 Aug 2010 14:07:40 +1000 Subject: [PATCH] Fix OpenGL multisampling for some graphics drivers --- src/opengl/qgl_win.cpp | 2 +- 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()) { -- 1.7.2.1