Skip to content

Commit

Permalink
Metal: fixed indentation for constant arrays.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 29, 2016
1 parent fd60b5e commit 615cdbb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader.c
Expand Up @@ -4705,6 +4705,7 @@ static void emit_METAL_const_array(Context *ctx, const ConstantsList *clist,

const char *cstr = NULL;
push_output(ctx, &ctx->mainline_top);
ctx->indent++;
output_line(ctx, "const float4 %s[%d] = {", varname, size);
ctx->indent++;

Expand Down

0 comments on commit 615cdbb

Please sign in to comment.