From: Michal Krol Date: Fri, 4 Sep 2009 13:20:31 +0000 (+0200) Subject: glsl: Actually respect the hash-line directive. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d2d6384448baae3c04eced3373d96907def4e13;p=mesa.git glsl: Actually respect the hash-line directive. --- 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. */