Mesa (glsl-pp-rework-2): slang: Fix order of parameters to sl_pp_tokenise() .
MichaŠKról
michal at kemper.freedesktop.org
Mon Nov 23 19:12:29 UTC 2009
Module: Mesa
Branch: glsl-pp-rework-2
Commit: 03f0ebe3bd202b955a0e68bdad65a9a2d27bee2f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=03f0ebe3bd202b955a0e68bdad65a9a2d27bee2f
Author: Michal Krol <michal at vmware.com>
Date: Mon Nov 23 20:12:17 2009 +0100
slang: Fix order of parameters to sl_pp_tokenise().
---
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 f2342bf..a194f2f 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;
More information about the mesa-commit
mailing list