mojoshader.c
changeset 1100 d1c8e5a9dcd0
parent 1099 aef946714f39
child 1101 3a1384bf9ca1
--- a/mojoshader.c	Mon Apr 23 01:19:58 2012 -0400
+++ b/mojoshader.c	Mon Apr 23 01:53:07 2012 -0400
@@ -9054,7 +9054,7 @@
 
                     // Apparently this is an attribute that wasn't DCL'd.
                     //  Add it to the attribute list; deal with it later.
-                    add_attribute_register(ctx, item->regtype, item->regnum,
+                    add_attribute_register(ctx, regtype, regnum,
                                            MOJOSHADER_USAGE_UNKNOWN, 0, 0xF, 0);
                     break;