Added a FIXME comment. trunk
authorRyan C. Gordon <icculus@icculus.org>
Sun, 27 Apr 2008 04:01:23 -0400
branchtrunk
changeset 214 a4346bb8608b
parent 213 73935330a973
child 215 f2e508f08997
Added a FIXME comment.
mojoshader.c
--- 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