mojoshader_effects.c
changeset 1045 448766b7c981
parent 1043 6227066350b4
child 1046 097aefb03885
--- a/mojoshader_effects.c	Wed Jun 01 03:30:03 2011 -0400
+++ b/mojoshader_effects.c	Wed Jun 01 05:35:50 2011 -0400
@@ -34,7 +34,7 @@
 
     for (instit = 0; instit < preshader->instruction_count; instit++, inst++)
     {
-        const MOJOSHADER_preshaderOperand *operand = inst->operands;
+        const MOJOSHADER_preshaderOperand *operand = &inst->operands[1];
         const int isscalar = (inst->opcode >= scalarstart);
         const int elems = inst->element_count;
         const int elemsbytes = sizeof (double) * elems;