From: Michal Krol Date: Mon, 23 Nov 2009 19:12:17 +0000 (+0100) Subject: slang: Fix order of parameters to sl_pp_tokenise(). X-Git-Tag: 062012170305~15523^2~20 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=03f0ebe3bd202b955a0e68bdad65a9a2d27bee2f;p=profile%2Fivi%2Fmesa.git slang: Fix order of parameters to sl_pp_tokenise(). --- 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;