mojoshader.c
branchtrunk
changeset 214 a4346bb8608b
parent 195 5e68c48dac00
child 231 be53929fe38f
--- a/mojoshader.c	Sun Apr 27 03:47:15 2008 -0400
+++ b/mojoshader.c	Sun Apr 27 04:01:23 2008 -0400
@@ -1965,6 +1965,7 @@
     reg = declared_attribute(ctx, MOJOSHADER_USAGE_POSITION, 0);
     if (reg != NULL)
     {
+        // !!! FIXME: only emit if shader didn't definitely set gl_Position.
         output_line(ctx, "gl_Position = %s;",
                             get_GLSL_varname(ctx, reg->regtype, reg->regnum));
     } // if