Skip to content

Commit

Permalink
Replaced "(void)" with "()" in subroutine definitions in GLSL profile.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 4, 2008
1 parent cc15d47 commit 26683b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -1977,7 +1977,7 @@ static void emit_GLSL_LABEL(Context *ctx)
// !!! FIXME: it would be nice if we could determine if a function is
// !!! FIXME: only called once and, if so, forcibly inline it.

output_line(ctx, "void %s(void)", labelstr);
output_line(ctx, "void %s()", labelstr);
output_line(ctx, "{");
ctx->indent++;
} // emit_GLSL_LABEL
Expand Down

0 comments on commit 26683b5

Please sign in to comment.