profiles/mojoshader_profile_glsl.c
changeset 1203 825944b0dbfc
parent 1200 eb1e5280a5a9
child 1208 888630594fb5
--- a/profiles/mojoshader_profile_glsl.c	Sat Apr 27 17:03:28 2019 -0400
+++ b/profiles/mojoshader_profile_glsl.c	Mon May 27 03:08:46 2019 -0400
@@ -1027,6 +1027,7 @@
                 push_output(ctx, &ctx->globals);
                 output_line(ctx, "float %s = gl_FrontFacing ? 1.0 : -1.0;", var);
                 pop_output(ctx);
+                return;
             } // if
             else if (mt == MISCTYPE_TYPE_POSITION)
             {