Just adding some whitespace in the GLSL profile's LOOP emitter. trunk
authorRyan C. Gordon <icculus@icculus.org>
Thu, 17 Apr 2008 02:35:56 -0400
branchtrunk
changeset 134 205c793ecf3e
parent 133 a2e9b4314286
child 135 d9737ae63a6d
Just adding some whitespace in the GLSL profile's LOOP emitter.
mojoshader.c
--- a/mojoshader.c	Wed Apr 16 23:19:25 2008 -0400
+++ b/mojoshader.c	Thu Apr 17 02:35:56 2008 -0400
@@ -2351,7 +2351,7 @@
     assert(ctx->source_args[0].regnum == 0);  // in case they add aL1 someday.
     output_line(ctx, "{");
     ctx->indent++;
-    output_line(ctx, "const int aLend = %s.x+%s.y;", varname, varname);
+    output_line(ctx, "const int aLend = %s.x + %s.y;", varname, varname);
     output_line(ctx, "for (int aL = %s.y; aL < aLend; aL += %s.z) {",
                 varname, varname);
     ctx->indent++;