From: Michal Krol Date: Thu, 24 Sep 2009 06:43:54 +0000 (+0200) Subject: glsl/apps: Fix apps after pp interface changes. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13f9a39cea81bf8f1efd4aca1467c63a49a42dab;p=mesa.git glsl/apps: Fix apps after pp interface changes. --- diff --git a/src/glsl/apps/process.c b/src/glsl/apps/process.c index 4fff3570c1a..28b415c3ffd 100644 --- a/src/glsl/apps/process.c +++ b/src/glsl/apps/process.c @@ -367,11 +367,7 @@ main(int argc, break; case SL_PP_LINE: - fprintf(out, "#line %u", outtokens[i].data.line); - break; - - case SL_PP_FILE: - fprintf(out, " #file %u", outtokens[i].data.file); + fprintf(out, "#line %u %u", outtokens[i].data.line.lineno, outtokens[i].data.line.fileno); break; default: