slang: Fix order of parameters to sl_pp_tokenise().

This commit is contained in:
Michal Krol 2009-11-23 20:12:17 +01:00
parent 6199a0cf89
commit 03f0ebe3bd

View file

@ -2604,7 +2604,7 @@ compile_with_grammar(const char *source,
} }
memset(&options, 0, sizeof(options)); 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)); slang_info_log_error(infolog, "%s", sl_pp_context_error_message(context));
sl_pp_context_destroy(context); sl_pp_context_destroy(context);
return GL_FALSE; return GL_FALSE;