Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Added a FIXME comment.
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 27, 2008
1 parent 5fcff69 commit 0685a6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mojoshader.c
Expand Up @@ -1965,6 +1965,7 @@ static void emit_GLSL_finalize(Context *ctx)
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
Expand Down

0 comments on commit 0685a6b

Please sign in to comment.