mojoshader_effects.c
changeset 1167 62d88009015d
parent 1165 0249808e3444
child 1168 ddd9304d03a8
--- a/mojoshader_effects.c	Sat May 28 16:11:12 2016 -0400
+++ b/mojoshader_effects.c	Sat May 28 22:08:22 2016 -0400
@@ -723,7 +723,7 @@
                  */
                 object->shader.is_preshader = 1;
                 const uint32 start = *((uint32 *) *ptr) + 4;
-                const uint32 end = 24; // FIXME: Why? -flibit
+                const uint32 end = 16; // FIXME: Why? -flibit
                 const char *array = readstring(*ptr, 0, m, d);
                 object->shader.param_count = 1;
                 object->shader.params = (uint32 *) m(sizeof (uint32), d);