Skip to content

Commit

Permalink
Fixed comment.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed May 25, 2008
1 parent 6e9ba49 commit d0a79f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -2540,7 +2540,7 @@ static void emit_GLSL_SLT(Context *ctx)
const char *src1 = make_GLSL_srcarg_string_masked(ctx, 1);
const char *code = NULL;

// float(bool) or vec(bvec) results in 0.0 or 1.0, like SGE wants.
// float(bool) or vec(bvec) results in 0.0 or 1.0, like SLT wants.
if (vecsize == 1)
code = make_GLSL_destarg_assign(ctx, "float(%s < %s)", src0, src1);
else
Expand Down

0 comments on commit d0a79f0

Please sign in to comment.