mojoshader_opengl.c
changeset 450 6a9faf398c1d
parent 449 5a978f37e750
child 457 96552d8041bf
--- a/mojoshader_opengl.c	Sat Aug 23 20:33:03 2008 -0400
+++ b/mojoshader_opengl.c	Tue Aug 26 05:54:49 2008 -0400
@@ -1037,12 +1037,15 @@
 
 
 MOJOSHADER_glShader *MOJOSHADER_glCompileShader(const unsigned char *tokenbuf,
-                                                const unsigned int bufsize)
+                                                const unsigned int bufsize,
+                                                const MOJOSHADER_swizzle *swiz,
+                                                const unsigned int swizcount)
 {
     MOJOSHADER_glShader *retval = NULL;
     GLuint shader = 0;
     const MOJOSHADER_parseData *pd = MOJOSHADER_parse(ctx->profile, tokenbuf,
-                                                      bufsize, ctx->malloc_fn,
+                                                      bufsize, swiz, swizcount,
+                                                      ctx->malloc_fn,
                                                       ctx->free_fn,
                                                       ctx->malloc_data);
     if (pd->error != NULL)