diff options
Diffstat (limited to 'abs/core/qt/fix-multisampling-with-ati-card.patch')
-rw-r--r-- | abs/core/qt/fix-multisampling-with-ati-card.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/abs/core/qt/fix-multisampling-with-ati-card.patch b/abs/core/qt/fix-multisampling-with-ati-card.patch new file mode 100644 index 0000000..c215c2c --- /dev/null +++ b/abs/core/qt/fix-multisampling-with-ati-card.patch @@ -0,0 +1,25 @@ +From e48e50c460434c451c67403390d98f7418c77cce Mon Sep 17 00:00:00 2001 +From: Jonathan Liu <net147@gmail.com> +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 + |