projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
744994a
)
glsl/pp: fix incorrect extension enable flag for warn mode
author
Brian Paul
<brianp@vmware.com>
Sat, 13 Feb 2010 20:48:32 +0000
(13:48 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 13 Feb 2010 20:48:32 +0000
(13:48 -0700)
src/glsl/pp/sl_pp_extension.c
patch
|
blob
|
history
diff --git
a/src/glsl/pp/sl_pp_extension.c
b/src/glsl/pp/sl_pp_extension.c
index 777e42d0fc97fb6ded96ed4818c6827684831ed3..2b6cf3c7e429c8529fc82d8d0735fbd6f3410318 100644
(file)
--- 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. */