diff options
author | Michal Krol <michal@vmware.com> | 2009-09-04 15:20:31 +0200 |
---|---|---|
committer | Michal Krol <michal@vmware.com> | 2009-09-04 15:20:31 +0200 |
commit | 28dfa0b2842080b16380f612b9ec380327db7714 (patch) | |
tree | cad407c49b9dc750785cd5763f06a3ae5b0cde58 | |
parent | ebd8bb7bfbc269ece78ccc2e3d366aea17b23dc6 (diff) |
glsl: Actually respect the hash-line directive.
-rw-r--r-- | src/glsl/pp/sl_pp_line.c | 2 |
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. */ |