mojoshader_effects.c
changeset 1104 9147482e1ec7
parent 1074 3fdc7cbd0c37
child 1150 02c0f0afb39a
--- a/mojoshader_effects.c	Sat May 19 01:56:29 2012 -0400
+++ b/mojoshader_effects.c	Tue May 29 02:43:24 2012 -0400
@@ -208,6 +208,8 @@
                                                 const unsigned int _len,
                                                 const MOJOSHADER_swizzle *swiz,
                                                 const unsigned int swizcount,
+                                                const MOJOSHADER_samplerMap *smap,
+                                                const unsigned int smapcount,
                                                 MOJOSHADER_malloc m,
                                                 MOJOSHADER_free f,
                                                 void *d)
@@ -515,7 +517,8 @@
             shader->technique = technique;
             shader->pass = pass;
             shader->shader = MOJOSHADER_parse(profile, ptr, shadersize,
-                                              swiz, swizcount, m, f, d);
+                                              swiz, swizcount, smap, smapcount,
+                                              m, f, d);
 
             // !!! FIXME: check for errors.