Metal: fixed indentation for constant arrays.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 29 May 2016 03:51:36 -0400
changeset 1177 ba7a3f39add4
parent 1176 1356c2c32ef6
child 1178 03f0ef912406
Metal: fixed indentation for constant arrays.
mojoshader.c
--- a/mojoshader.c	Sun May 29 03:03:15 2016 -0400
+++ b/mojoshader.c	Sun May 29 03:51:36 2016 -0400
@@ -4705,6 +4705,7 @@
 
     const char *cstr = NULL;
     push_output(ctx, &ctx->mainline_top);
+    ctx->indent++;
     output_line(ctx, "const float4 %s[%d] = {", varname, size);
     ctx->indent++;