diff options
author | Michal Krol <[email protected]> | 2009-09-04 15:16:42 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-09-07 10:12:08 +0200 |
commit | b6df77fb9a6093eb8ed13b5c7c1327c162c41584 (patch) | |
tree | fa022c66fe4eab9a98b84f1fb80541a7df04d485 /src/glsl | |
parent | 4aa3222df315e3b36c73374e9000a6607c3b995c (diff) |
glsl: Handle line tokens in apps/process.
Diffstat (limited to 'src/glsl')
-rw-r--r-- | src/glsl/apps/process.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glsl/apps/process.c b/src/glsl/apps/process.c index b40ad442bbb..ca96d62f784 100644 --- a/src/glsl/apps/process.c +++ b/src/glsl/apps/process.c @@ -344,6 +344,10 @@ main(int argc, fprintf(out, "#extension %s : disable", sl_pp_context_cstr(&context, outtokens[i].data.extension)); break; + case SL_PP_LINE: + fprintf(out, "#line %u", outtokens[i].data.line); + break; + default: assert(0); } |