Skip to content

Commit

Permalink
Fixed output of POW opcode in GLSL profile.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed May 8, 2008
1 parent 249f3bd commit 7e613c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -2705,7 +2705,7 @@ static void emit_GLSL_POW(Context *ctx)
{
const char *src0 = make_GLSL_srcarg_string_masked(ctx, 0);
const char *src1 = make_GLSL_srcarg_string_masked(ctx, 1);
const char *code = make_GLSL_destarg_assign(ctx, "pow(abs(%s), %s))", src0, src1);
const char *code = make_GLSL_destarg_assign(ctx, "pow(abs(%s), %s)", src0, src1);
output_line(ctx, "%s", code);
} // emit_GLSL_POW

Expand Down

0 comments on commit 7e613c1

Please sign in to comment.