Skip to content
Permalink
Browse files
Just adding some whitespace in the GLSL profile's LOOP emitter.
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 17, 2008
1 parent cf8707b commit 0bda9e551ef21af5e3a70bdf01a75c464e9d3bbb
Showing with 1 addition and 1 deletion.
  1. +1 −1 mojoshader.c
@@ -2351,7 +2351,7 @@ static void emit_GLSL_LOOP(Context *ctx)
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++;

0 comments on commit 0bda9e5

Please sign in to comment.