From 1486b2576ff7c93b00d8c56b0ba9c461015d1866 Mon Sep 17 00:00:00 2001
From: Dave Airlie <airlied@redhat.com>
Date: Sun, 2 May 2010 19:35:34 +1000
Subject: [PATCH] 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 6d6f89e..77f5cea 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -535,6 +535,9 @@ __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;
-- 
1.6.6.1

