projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6df77f
)
glsl: Actually respect the hash-line directive.
author
Michal Krol
<michal@vmware.com>
Fri, 4 Sep 2009 13:20:31 +0000
(15:20 +0200)
committer
Michal Krol
<michal@vmware.com>
Mon, 7 Sep 2009 08:12:09 +0000
(10:12 +0200)
src/glsl/pp/sl_pp_line.c
patch
|
blob
|
history
diff --git
a/src/glsl/pp/sl_pp_line.c
b/src/glsl/pp/sl_pp_line.c
index b62af185bf54c6481ae72813bff5dae7b8c2f618..9b9f45dcedd9c760c03e2bf344e04b03c21a1897 100644
(file)
--- 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. */