Skip to content

Commit

Permalink
Whoops, cut-and-paste error in GLSL profile's SLT emitter.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 22, 2008
1 parent 3981e0c commit a1d4fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -2248,7 +2248,7 @@ static void emit_GLSL_SLT(Context *ctx)

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

0 comments on commit a1d4fd6

Please sign in to comment.