diff options
author | Michal Krol <[email protected]> | 2009-11-23 20:12:17 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-11-23 20:12:17 +0100 |
commit | 03f0ebe3bd202b955a0e68bdad65a9a2d27bee2f (patch) | |
tree | aa100ecacaae5413eacb4c106a77040dce1e27bf /src | |
parent | 6199a0cf89034ab92ac61158a25902acc17604f4 (diff) |
slang: Fix order of parameters to sl_pp_tokenise().
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/shader/slang/slang_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_compile.c b/src/mesa/shader/slang/slang_compile.c index f2342bfdcbe..a194f2fc9e6 100644 --- 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; |