mojoshader_effects.c
changeset 1218 063ee7ba5eea
parent 1205 59d969911962
child 1231 76468460693e
--- a/mojoshader_effects.c	Wed Nov 20 13:36:32 2019 -0500
+++ b/mojoshader_effects.c	Sat Nov 23 21:54:01 2019 -0500
@@ -1343,6 +1343,9 @@
     retval->major_ver = src->major_ver;
     retval->minor_ver = src->minor_ver;
 
+    /* Copy main function string */
+    COPY_STRING(mainfn);
+
     /* Copy uniforms */
     siz = sizeof (MOJOSHADER_uniform) * src->uniform_count;
     retval->uniform_count = src->uniform_count;