mojoshader.c
changeset 1193 4decf307c228
parent 1190 51de95edd697
child 1199 b8ece252a201
--- a/mojoshader.c	Mon Feb 18 21:49:03 2019 -0500
+++ b/mojoshader.c	Wed Mar 06 15:09:49 2019 -0500
@@ -2623,7 +2623,10 @@
             switch (usage)
             {
                 case MOJOSHADER_USAGE_POSITION:
-                    usage_str = "gl_Position";
+                    if (index == 0)
+                    {
+                        usage_str = "gl_Position";
+                    } // if
                     break;
                 case MOJOSHADER_USAGE_POINTSIZE:
                     usage_str = "gl_PointSize";