summaryrefslogtreecommitdiffstats
path: root/src/glsl/pp
diff options
context:
space:
mode:
authorMichal Krol <[email protected]>2009-09-04 15:20:31 +0200
committerMichal Krol <[email protected]>2009-09-07 10:12:09 +0200
commit2d2d6384448baae3c04eced3373d96907def4e13 (patch)
tree206603446d896434776319abed3767bda7ca09d8 /src/glsl/pp
parentb6df77fb9a6093eb8ed13b5c7c1327c162c41584 (diff)
glsl: Actually respect the hash-line directive.
Diffstat (limited to 'src/glsl/pp')
-rw-r--r--src/glsl/pp/sl_pp_line.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/pp/sl_pp_line.c b/src/glsl/pp/sl_pp_line.c
index b62af185bf5..9b9f45dcedd 100644
--- a/src/glsl/pp/sl_pp_line.c
+++ b/src/glsl/pp/sl_pp_line.c
@@ -130,6 +130,8 @@ sl_pp_process_line(struct sl_pp_context *context,
if (sl_pp_process_out(pstate, &ti)) {
return -1;
}
+
+ context->line = line;
}
/* TODO: Do something with the file number. */