wok diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/qt4/stuff/fix-multisampling-with-ati-card.patch	Sun Nov 14 15:46:44 2010 +0000
     1.3 @@ -0,0 +1,25 @@
     1.4 +From e48e50c460434c451c67403390d98f7418c77cce Mon Sep 17 00:00:00 2001
     1.5 +From: Jonathan Liu <net147@gmail.com>
     1.6 +Date: Wed, 25 Aug 2010 14:07:40 +1000
     1.7 +Subject: [PATCH] Fix OpenGL multisampling for some graphics drivers
     1.8 +
     1.9 +---
    1.10 + src/opengl/qgl_win.cpp |    2 +-
    1.11 + 1 files changed, 1 insertions(+), 1 deletions(-)
    1.12 +
    1.13 +diff --git a/src/opengl/qgl_win.cpp b/src/opengl/qgl_win.cpp
    1.14 +index 5ab944a..8eb6177 100644
    1.15 +--- a/src/opengl/qgl_win.cpp
    1.16 ++++ b/src/opengl/qgl_win.cpp
    1.17 +@@ -1042,7 +1042,7 @@ int QGLContext::choosePixelFormat(void* dummyPfd, HDC pdc)
    1.18 +         iAttributes[i++] = WGL_DRAW_TO_WINDOW_ARB;
    1.19 +         iAttributes[i++] = TRUE;
    1.20 +         iAttributes[i++] = WGL_COLOR_BITS_ARB;
    1.21 +-        iAttributes[i++] = 32;
    1.22 ++        iAttributes[i++] = 24;
    1.23 +         iAttributes[i++] = WGL_DOUBLE_BUFFER_ARB;
    1.24 +         iAttributes[i++] = d->glFormat.doubleBuffer();
    1.25 +         if (d->glFormat.stereo()) {
    1.26 +-- 
    1.27 +1.7.2.1
    1.28 +