mojoshader.c
branchtrunk
changeset 183 2aacea2477f6
parent 182 09e287c6a111
child 184 5d196ad56b25
--- a/mojoshader.c	Tue Apr 22 05:14:38 2008 -0400
+++ b/mojoshader.c	Tue Apr 22 05:17:08 2008 -0400
@@ -1826,7 +1826,7 @@
 
     char *retval = get_scratch_buffer(ctx);
     snprintf(retval, SCRATCH_BUFFER_SIZE, "%s%s%s%s%s",
-             premod_str, regtype_str, regnum_str, postmod_str, swiz_str);
+             premod_str, regtype_str, regnum_str, swiz_str, postmod_str);
     // !!! FIXME: make sure the scratch buffer was large enough.
     return retval;
 } // make_GLSL_srcarg_string