projects
/
profile
/
ivi
/
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
777e42d
..
2b6cf3c
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. */