Put mainline start bracket on new line. trunk
authorRyan C. Gordon <icculus@icculus.org>
Thu, 03 Apr 2008 05:42:17 -0400
branchtrunk
changeset 60 790a87c64c79
parent 59 1545354b2791
child 61 0a1de4d2ba04
Put mainline start bracket on new line.
mojoshader.c
--- a/mojoshader.c	Thu Apr 03 05:40:37 2008 -0400
+++ b/mojoshader.c	Thu Apr 03 05:42:17 2008 -0400
@@ -1290,7 +1290,8 @@
     } // else
 
     ctx->output = &ctx->mainline;
-    output_line(ctx, "void main() {");
+    output_line(ctx, "void main()");
+    output_line(ctx, "{");
     ctx->indent++;
 } // emit_GLSL_start