summaryrefslogtreecommitdiff
path: root/src/glsl
diff options
context:
space:
mode:
Diffstat (limited to 'src/glsl')
-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. */