summaryrefslogtreecommitdiffstats
path: root/src/glsl/apps/tokenise.c
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-12-20 13:53:17 +0100
committerMichal Krol <[email protected]>2009-12-20 21:19:03 +0100
commit9c15948125109d6eda7da25a2749680b830e8b82 (patch)
tree4f7bc330fa4103e339ccb7e7cc401df00496de11 /src/glsl/apps/tokenise.c
parente0f57a37b2533a92359942a9698427922883d227 (diff)
glsl/apps: Update after glsl pp interface changes.
Diffstat (limited to 'src/glsl/apps/tokenise.c')
-rw-r--r--src/glsl/apps/tokenise.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glsl/apps/tokenise.c b/src/glsl/apps/tokenise.c
index 91368c32a45..9ff73157e9c 100644
--- a/src/glsl/apps/tokenise.c
+++ b/src/glsl/apps/tokenise.c
@@ -87,7 +87,7 @@ main(int argc,
memset(&options, 0, sizeof(options));
- context = sl_pp_context_create();
+ context = sl_pp_context_create(inbuf, &options);
if (!context) {
fprintf(out, "$CONTEXERROR\n");
@@ -96,7 +96,7 @@ main(int argc,
return 1;
}
- if (sl_pp_tokenise(context, inbuf, &options, &tokens)) {
+ if (sl_pp_tokenise(context, &tokens)) {
fprintf(out, "$ERROR: `%s'\n", sl_pp_context_error_message(context));
sl_pp_context_destroy(context);