Mesa (master): glx: fix regression with GLX_USE_GL

Dave Airlie airlied at kemper.freedesktop.org
Mon May 3 06:34:05 UTC 2010


Module: Mesa
Branch: master
Commit: 26a9b7e4c737c89b47844303bb7413ceab0280a5
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=26a9b7e4c737c89b47844303bb7413ceab0280a5

Author: Dave Airlie <airlied at redhat.com>
Date:   Sun May  2 19:35:34 2010 +1000

glx: fix regression with GLX_USE_GL

update for fbconfig_style_tags

---

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

diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index 82d3a56..0e148ed 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -584,6 +584,9 @@ __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