Module: Mesa Branch: glsl-pp-rework-1 Commit: 28dfa0b2842080b16380f612b9ec380327db7714 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=28dfa0b2842080b16380f612b9ec380327db7714
Author: Michal Krol <[email protected]> Date: Fri Sep 4 15:20:31 2009 +0200 glsl: Actually respect the hash-line directive. --- 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 b62af18..9b9f45d 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. */ _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
