glsl: Actually respect the hash-line directive.
authorMichal Krol <michal@vmware.com>
Fri, 4 Sep 2009 13:20:31 +0000 (15:20 +0200)
committerMichal Krol <michal@vmware.com>
Mon, 7 Sep 2009 08:12:09 +0000 (10:12 +0200)
src/glsl/pp/sl_pp_line.c

index b62af185bf54c6481ae72813bff5dae7b8c2f618..9b9f45dcedd9c760c03e2bf344e04b03c21a1897 100644 (file)
@@ -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. */