Skip to content

Commit

Permalink
Note to self.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 3, 2008
1 parent 662d360 commit 0ed9eaf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions mojoshader.c
Expand Up @@ -1863,6 +1863,9 @@ static void emit_GLSL_LABEL(Context *ctx)
if (!get_bit_array(ctx->labels_called, sizeof (ctx->labels_called), label))
ctx->output = &ctx->ignore; // Func not used. Parse, but don't output.

// !!! 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, "{");
ctx->indent++;
Expand Down

0 comments on commit 0ed9eaf

Please sign in to comment.