Skip to content

Commit

Permalink
Cut-and-paste error.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Apr 15, 2012
1 parent 4f824f4 commit 5f11b15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader.c
Expand Up @@ -6785,7 +6785,7 @@ static void state_TEXLD(Context *ctx)
else if (src1->regtype != REG_TYPE_SAMPLER)
fail(ctx, "TEXLD src1 must be sampler register");
else if (src1->src_mod != SRCMOD_NONE)
fail(ctx, "TEXLD src0 must have no modifiers");
fail(ctx, "TEXLD src1 must have no modifiers");
else if ( (ctx->instruction_controls != CONTROL_TEXLD) &&
(ctx->instruction_controls != CONTROL_TEXLDP) &&
(ctx->instruction_controls != CONTROL_TEXLDB) )
Expand Down

0 comments on commit 5f11b15

Please sign in to comment.