wok view qt4/stuff/fix-multisampling-with-ati-card.patch @ rev 7254

Up: xorg-xprop to 1.2.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 14 15:46:44 2010 +0000 (2010-11-14)
parents
children
line source
1 From e48e50c460434c451c67403390d98f7418c77cce Mon Sep 17 00:00:00 2001
2 From: Jonathan Liu <net147@gmail.com>
3 Date: Wed, 25 Aug 2010 14:07:40 +1000
4 Subject: [PATCH] Fix OpenGL multisampling for some graphics drivers
6 ---
7 src/opengl/qgl_win.cpp | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
10 diff --git a/src/opengl/qgl_win.cpp b/src/opengl/qgl_win.cpp
11 index 5ab944a..8eb6177 100644
12 --- a/src/opengl/qgl_win.cpp
13 +++ b/src/opengl/qgl_win.cpp
14 @@ -1042,7 +1042,7 @@ int QGLContext::choosePixelFormat(void* dummyPfd, HDC pdc)
15 iAttributes[i++] = WGL_DRAW_TO_WINDOW_ARB;
16 iAttributes[i++] = TRUE;
17 iAttributes[i++] = WGL_COLOR_BITS_ARB;
18 - iAttributes[i++] = 32;
19 + iAttributes[i++] = 24;
20 iAttributes[i++] = WGL_DOUBLE_BUFFER_ARB;
21 iAttributes[i++] = d->glFormat.doubleBuffer();
22 if (d->glFormat.stereo()) {
23 --
24 1.7.2.1