glx: fix regression with GLX_USE_GL
authorDave Airlie <airlied@redhat.com>
Sun, 2 May 2010 09:35:34 +0000 (19:35 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 3 May 2010 06:17:25 +0000 (16:17 +1000)
update for fbconfig_style_tags

src/glx/glxext.c

index 82d3a56f37d333865b1fa23e92c78f702bfb3aa2..0e148edf8eb911444b11287c3befc3cebd2b8225 100644 (file)
@@ -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;