glsl/apps: Adapt to pp interface change.

This commit is contained in:
Michal Krol
2009-09-14 13:08:07 +02:00
parent a67f32289a
commit 169aead1b5
3 changed files with 12 additions and 3 deletions
+4 -1
View File
@@ -88,7 +88,10 @@ main(int argc,
free(inbuf);
sl_pp_context_init(&context);
if (sl_pp_context_init(&context)) {
free(outbuf);
return 1;
}
if (sl_pp_tokenise(&context, outbuf, &tokens)) {
sl_pp_context_destroy(&context);
+4 -1
View File
@@ -84,7 +84,10 @@ main(int argc,
free(inbuf);
sl_pp_context_init(&context);
if (sl_pp_context_init(&context)) {
free(outbuf);
return 1;
}
if (sl_pp_tokenise(&context, outbuf, &tokens)) {
sl_pp_context_destroy(&context);
+4 -1
View File
@@ -84,7 +84,10 @@ main(int argc,
free(inbuf);
sl_pp_context_init(&context);
if (sl_pp_context_init(&context)) {
free(outbuf);
return 1;
}
if (sl_pp_tokenise(&context, outbuf, &tokens)) {
sl_pp_context_destroy(&context);