mojoshader_opengl.c
changeset 1104 9147482e1ec7
parent 1090 636ffcd3f14a
child 1105 57e255c3b243
--- a/mojoshader_opengl.c	Sat May 19 01:56:29 2012 -0400
+++ b/mojoshader_opengl.c	Tue May 29 02:43:24 2012 -0400
@@ -1392,12 +1392,15 @@
 MOJOSHADER_glShader *MOJOSHADER_glCompileShader(const unsigned char *tokenbuf,
                                                 const unsigned int bufsize,
                                                 const MOJOSHADER_swizzle *swiz,
-                                                const unsigned int swizcount)
+                                                const unsigned int swizcount,
+                                                const MOJOSHADER_samplerMap *smap,
+                                                const unsigned int smapcount)
 {
     MOJOSHADER_glShader *retval = NULL;
     GLuint shader = 0;
     const MOJOSHADER_parseData *pd = MOJOSHADER_parse(ctx->profile, tokenbuf,
                                                       bufsize, swiz, swizcount,
+                                                      smap, smapcount,
                                                       ctx->malloc_fn,
                                                       ctx->free_fn,
                                                       ctx->malloc_data);