diff options
author | Brian Paul <brianp@vmware.com> | 2010-02-13 13:48:32 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-02-13 13:48:32 -0700 |
commit | 3b53b7e8b06d4caa4bebcc0d58ec0a0233ac77ba (patch) | |
tree | a326c23474cd34c7ace7b7180f43211f4c4f9fbe /src/glsl | |
parent | 744994a9c6b972a737e432cf1b699f232e2c5bfd (diff) |
glsl/pp: fix incorrect extension enable flag for warn mode
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/pp/sl_pp_extension.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |