mojoshader_preprocessor.c
changeset 642 624ab8696f9b
parent 641 2002d0399ef2
child 643 20403ca72f54
--- a/mojoshader_preprocessor.c	Tue Feb 17 00:57:09 2009 -0500
+++ b/mojoshader_preprocessor.c	Tue Feb 17 08:40:03 2009 -0500
@@ -564,6 +564,7 @@
     state->source_base = source;
     state->source = source;
     state->token = source;
+    state->orig_length = srclen;
     state->bytes_left = srclen;
     state->line = linenum;
     state->next = ctx->include_stack;