Skip to content

Commit

Permalink
Fixed cut-and-paste bug.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 18, 2008
1 parent ed866f1 commit d4d48e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mojoshader.c
Expand Up @@ -2632,8 +2632,8 @@ static void emit_GLSL_comparison_operations(Context *ctx, const char *cmp)
{
const DestArgInfo *dst = &ctx->dest_args[0];
const char *src0 = get_GLSL_sourcearg_varname(ctx, 0);
const char *src1 = get_GLSL_sourcearg_varname(ctx, 0);
const char *src2 = get_GLSL_sourcearg_varname(ctx, 0);
const char *src1 = get_GLSL_sourcearg_varname(ctx, 1);
const char *src2 = get_GLSL_sourcearg_varname(ctx, 2);

// !!! FIXME: for replicate swizzles, don't redo compares...

Expand Down

0 comments on commit d4d48e2

Please sign in to comment.