Skip to content
Permalink
Browse files
Whoops, cut-and-paste error in GLSL profile's SLT emitter.
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 22, 2008
1 parent 3981e0c commit a1d4fd674c4549f554a0387be77d33f49b22ed74

File 1 of 1 in a1d4fd6

@@ -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))",

0 comments on commit a1d4fd6

Please sign in to comment.