Patched to compile with Effects support compiled in.
authorRyan C. Gordon <icculus@icculus.org>
Sat, 28 May 2016 16:04:57 -0400
changeset 1165 0249808e3444
parent 1164 006194daea99
child 1166 ba0794ea4172
Patched to compile with Effects support compiled in.
mojoshader_effects.c
--- a/mojoshader_effects.c	Sat May 28 15:58:05 2016 -0400
+++ b/mojoshader_effects.c	Sat May 28 16:04:57 2016 -0400
@@ -624,7 +624,7 @@
         {
             object->shader.technique = -1;
             object->shader.pass = -1;
-            object->shader.shader = MOJOSHADER_parse(profile, *ptr, length,
+            object->shader.shader = MOJOSHADER_parse(profile, NULL, *ptr, length,
                                                      swiz, swizcount, smap, smapcount,
                                                      m, f, d);
             // !!! FIXME: check for errors.