Mesa (7.8): glx: fix regression with GLX_USE_GL
Brian Paul
brianp at kemper.freedesktop.org
Wed Jun 2 22:02:17 UTC 2010
Module: Mesa
Branch: 7.8
Commit: d2f2d0a1b7b1ec83678ece17f5534c594f5b2ea3
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2f2d0a1b7b1ec83678ece17f5534c594f5b2ea3
Author: Brian Paul <brianp at vmware.com>
Date: Wed Jun 2 16:01:15 2010 -0600
glx: fix regression with GLX_USE_GL
update for fbconfig_style_tags
Based on commit 26a9b7e4c737c89b47844303bb7413ceab0280a5 from master.
But fix the formatting and don't dereference the pointer to avoid a
compiler warning.
---
src/glx/glxext.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index 82d3a56..79285ec 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -584,6 +584,10 @@ __glXInitializeVisualConfigFromTags(__GLcontextModes * config, int count,
config->yInverted = *bp++;
break;
#endif
+ case GLX_USE_GL:
+ if (fbconfig_style_tags)
+ bp++;
+ break;
case None:
i = count;
break;
More information about the mesa-commit
mailing list