wok annotate qt4/stuff/fix-multisampling-with-ati-card.patch @ rev 8198
imported patch toolchain/m4.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@6976 | 1 From e48e50c460434c451c67403390d98f7418c77cce Mon Sep 17 00:00:00 2001 |
slaxemulator@6976 | 2 From: Jonathan Liu <net147@gmail.com> |
slaxemulator@6976 | 3 Date: Wed, 25 Aug 2010 14:07:40 +1000 |
slaxemulator@6976 | 4 Subject: [PATCH] Fix OpenGL multisampling for some graphics drivers |
slaxemulator@6976 | 5 |
slaxemulator@6976 | 6 --- |
slaxemulator@6976 | 7 src/opengl/qgl_win.cpp | 2 +- |
slaxemulator@6976 | 8 1 files changed, 1 insertions(+), 1 deletions(-) |
slaxemulator@6976 | 9 |
slaxemulator@6976 | 10 diff --git a/src/opengl/qgl_win.cpp b/src/opengl/qgl_win.cpp |
slaxemulator@6976 | 11 index 5ab944a..8eb6177 100644 |
slaxemulator@6976 | 12 --- a/src/opengl/qgl_win.cpp |
slaxemulator@6976 | 13 +++ b/src/opengl/qgl_win.cpp |
slaxemulator@6976 | 14 @@ -1042,7 +1042,7 @@ int QGLContext::choosePixelFormat(void* dummyPfd, HDC pdc) |
slaxemulator@6976 | 15 iAttributes[i++] = WGL_DRAW_TO_WINDOW_ARB; |
slaxemulator@6976 | 16 iAttributes[i++] = TRUE; |
slaxemulator@6976 | 17 iAttributes[i++] = WGL_COLOR_BITS_ARB; |
slaxemulator@6976 | 18 - iAttributes[i++] = 32; |
slaxemulator@6976 | 19 + iAttributes[i++] = 24; |
slaxemulator@6976 | 20 iAttributes[i++] = WGL_DOUBLE_BUFFER_ARB; |
slaxemulator@6976 | 21 iAttributes[i++] = d->glFormat.doubleBuffer(); |
slaxemulator@6976 | 22 if (d->glFormat.stereo()) { |
slaxemulator@6976 | 23 -- |
slaxemulator@6976 | 24 1.7.2.1 |
slaxemulator@6976 | 25 |