projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6199a0c
)
slang: Fix order of parameters to sl_pp_tokenise().
author
Michal Krol
<michal@vmware.com>
Mon, 23 Nov 2009 19:12:17 +0000
(20:12 +0100)
committer
Michal Krol
<michal@vmware.com>
Mon, 23 Nov 2009 19:12:17 +0000
(20:12 +0100)
src/mesa/shader/slang/slang_compile.c
patch
|
blob
|
history
diff --git
a/src/mesa/shader/slang/slang_compile.c
b/src/mesa/shader/slang/slang_compile.c
index f2342bfdcbebae088af490658d007f53c3f22394..a194f2fc9e649e47bda2eef174f5f9d62949c7fc 100644
(file)
--- a/
src/mesa/shader/slang/slang_compile.c
+++ b/
src/mesa/shader/slang/slang_compile.c
@@
-2604,7
+2604,7
@@
compile_with_grammar(const char *source,
}
memset(&options, 0, sizeof(options));
- if (sl_pp_tokenise(context,
&options, source
, &intokens)) {
+ if (sl_pp_tokenise(context,
source, &options
, &intokens)) {
slang_info_log_error(infolog, "%s", sl_pp_context_error_message(context));
sl_pp_context_destroy(context);
return GL_FALSE;