profiles/mojoshader_profile_glsl.c
changeset 1292 32d4493dc144
parent 1255 0135d797e287
child 1293 ee08d870641b
--- a/profiles/mojoshader_profile_glsl.c	Mon Jul 20 18:53:54 2020 -0400
+++ b/profiles/mojoshader_profile_glsl.c	Mon Jul 20 19:02:27 2020 -0400
@@ -2247,7 +2247,7 @@
     char src0[64]; make_GLSL_srcarg_string_vec2(ctx, 0, src0, sizeof (src0));
     char src1[64]; make_GLSL_srcarg_string_vec2(ctx, 1, src1, sizeof (src1));
     char src2[64]; make_GLSL_srcarg_string_scalar(ctx, 2, src2, sizeof (src2));
-    char extra[64]; snprintf(extra, sizeof (extra), " + %s", src2);
+    char extra[128]; snprintf(extra, sizeof (extra), " + %s", src2);
     emit_GLSL_dotprod(ctx, src0, src1, extra);
 } // emit_GLSL_DP2ADD