From 6e7cc108905f7c10f0e0d97d0272189e81256c58 Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Mon, 7 Nov 2011 20:53:54 +0000 Subject: [PATCH] * Source/x11/XGGLFormat.m (-assembleGLXAttributes:): Use GLX_BUFFER_SIZE for NSOpenGLPFAColorSize instead of setting all the single colour sizes, which was wrong. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@34136 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 6 ++++++ Source/x11/XGGLFormat.m | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8d233df..ee64f42 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-11-07 Fred Kiefer + + * Source/x11/XGGLFormat.m (-assembleGLXAttributes:): Use + GLX_BUFFER_SIZE for NSOpenGLPFAColorSize instead of setting all + the single colour sizes, which was wrong. + 2011-11-07 Fred Kiefer * Source/x11/XGServerEvent.m (initialize_keyboard): Use diff --git a/Source/x11/XGGLFormat.m b/Source/x11/XGGLFormat.m index d4af6bc..8491def 100644 --- a/Source/x11/XGGLFormat.m +++ b/Source/x11/XGGLFormat.m @@ -164,9 +164,12 @@ do \ case NSOpenGLPFAColorSize: { ptr++; + append(GLX_BUFFER_SIZE, *ptr); +/* append(GLX_RED_SIZE, *ptr); append(GLX_GREEN_SIZE, *ptr); append(GLX_BLUE_SIZE, *ptr); +*/ break; } case NSOpenGLPFAAlphaSize: