mojoshader_assembler.c
changeset 489 414b70b829d7
parent 488 1a318d011c00
child 490 14b6586d9c43
--- a/mojoshader_assembler.c	Wed Dec 10 04:22:06 2008 -0500
+++ b/mojoshader_assembler.c	Wed Dec 10 04:24:28 2008 -0500
@@ -1465,6 +1465,7 @@
     ctx->free = f;
     ctx->malloc_data = d;
     ctx->source = source;
+    ctx->linenum = 1;
 
     return ctx;
 } // build_context