[Mesa-dev] [PATCH 7/8] st/mesa: handle force_glsl_extensions_warn

Vadim Girlin vadimgirlin at gmail.com
Mon Apr 9 08:32:38 PDT 2012


Signed-off-by: Vadim Girlin <vadimgirlin at gmail.com>
---
 src/mesa/state_tracker/st_extensions.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c
index 0c98611..47e2373 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/src/mesa/state_tracker/st_extensions.c
@@ -629,4 +629,7 @@ void st_init_extensions(struct st_context *st, const driOptionCache * optionCach
          break;
       }
    }
+
+   if (driQueryOptionb(optionCache, "force_glsl_extensions_warn"))
+	   ctx->Const.ForceGLSLExtensionsWarn = 1;
 }
-- 
1.7.7.6



More information about the mesa-dev mailing list