Mesa (mesa_7_7_branch): glx: fix regression with GLX_USE_GL

Brian Paul brianp at kemper.freedesktop.org
Thu Jun 3 08:45:16 PDT 2010


Module: Mesa
Branch: mesa_7_7_branch
Commit: 0e080548f99a3fdea3afea13f48406ac935f5add
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0e080548f99a3fdea3afea13f48406ac935f5add

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jun  3 09:44:31 2010 -0600

glx: fix regression with GLX_USE_GL

update for fbconfig_style_tags

Based on commit 26a9b7e4c737c89b47844303bb7413ceab0280a5 from master.

---

 src/glx/x11/glxext.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/glx/x11/glxext.c b/src/glx/x11/glxext.c
index bdc6e31..387c081 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;



More information about the mesa-commit mailing list