summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-06-03 09:44:31 -0600
committerBrian Paul <brianp@vmware.com>2010-06-03 09:44:41 -0600
commit0e080548f99a3fdea3afea13f48406ac935f5add (patch)
treeefef6e5eba2feb48907324c0ac577eea9321b902
parent8ba378d9698be4fe24585beb10cadb95746f2a94 (diff)
downloadmesa_7_7_branch.tar.gz
glx: fix regression with GLX_USE_GLmesa_7_7_branch
update for fbconfig_style_tags Based on commit 26a9b7e4c737c89b47844303bb7413ceab0280a5 from master.
-rw-r--r--src/glx/x11/glxext.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index bdc6e31a8bf..387c081a771 100644
--- a/src/glx/x11/glxext.c
+++ b/src/glx/x11/glxext.c
@@ -438,6 +438,10 @@ __glXInitializeVisualConfigFromTags(__GLcontextModes * config, int count,
case GLX_Y_INVERTED_EXT:
config->yInverted = *bp++;
break;
+ case GLX_USE_GL:
+ if (fbconfig_style_tags)
+ bp++;
+ break;
case None:
i = count;
break;