summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Krol <michal@vmware.com>2009-09-04 15:20:31 +0200
committerMichal Krol <michal@vmware.com>2009-09-04 15:20:31 +0200
commit28dfa0b2842080b16380f612b9ec380327db7714 (patch)
treecad407c49b9dc750785cd5763f06a3ae5b0cde58
parentebd8bb7bfbc269ece78ccc2e3d366aea17b23dc6 (diff)
glsl: Actually respect the hash-line directive.
-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 b62af185bf..9b9f45dced 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. */