From 6b2eee5c4f911206e48f69e4f3137385e2b71e71 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Thu, 3 Apr 2008 05:42:17 -0400 Subject: [PATCH] Put mainline start bracket on new line. --HG-- branch : trunk --- mojoshader.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mojoshader.c b/mojoshader.c index 8c73fc21..005f6929 100644 --- a/mojoshader.c +++ b/mojoshader.c @@ -1290,7 +1290,8 @@ static void emit_GLSL_start(Context *ctx) } // else ctx->output = &ctx->mainline; - output_line(ctx, "void main() {"); + output_line(ctx, "void main()"); + output_line(ctx, "{"); ctx->indent++; } // emit_GLSL_start