mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-23 19:50:11 +01:00
slang: Fix order of parameters to sl_pp_tokenise().
This commit is contained in:
parent
6199a0cf89
commit
03f0ebe3bd
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue