From: Brian Paul Date: Sat, 13 Feb 2010 20:48:32 +0000 (-0700) Subject: glsl/pp: fix incorrect extension enable flag for warn mode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3b53b7e8b06d4caa4bebcc0d58ec0a0233ac77ba;p=mesa.git glsl/pp: fix incorrect extension enable flag for warn mode --- diff --git a/src/glsl/pp/sl_pp_extension.c b/src/glsl/pp/sl_pp_extension.c index 777e42d0fc9..2b6cf3c7e42 100644 --- a/src/glsl/pp/sl_pp_extension.c +++ b/src/glsl/pp/sl_pp_extension.c @@ -155,7 +155,7 @@ sl_pp_process_extension(struct sl_pp_context *context, return 0; } out.token = SL_PP_EXTENSION_WARN; - extension->enabled = 0; + extension->enabled = 1; } else if (behavior == context->dict.disable) { if (out.data.extension == -1) { /* Warning: the extension is not supported. */