Skip to content

Commit

Permalink
Just adding some whitespace in the GLSL profile's LOOP emitter.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 17, 2008
1 parent cf8707b commit 0bda9e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -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++;
Expand Down

0 comments on commit 0bda9e5

Please sign in to comment.