Skip to content

Commit

Permalink
[svn] BREAKC and IFC are output as BREAK and IF, respectively.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Mar 17, 2008
1 parent 1bc8ccf commit 9d94628
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions d3d2glsl.c
Expand Up @@ -873,14 +873,14 @@ static const char *get_D3D_comparison_string(Context *ctx)
static void emit_D3D_BREAKC(Context *ctx)
{
char op[16];
snprintf(op, sizeof (op), "BREAKC%s", get_D3D_comparison_string(ctx));
snprintf(op, sizeof (op), "BREAK%s", get_D3D_comparison_string(ctx));
emit_D3D_opcode_ss(ctx, op);
} // emit_D3D_BREAKC

static void emit_D3D_IFC(Context *ctx)
{
char op[16];
snprintf(op, sizeof (op), "IFC%s", get_D3D_comparison_string(ctx));
snprintf(op, sizeof (op), "IF%s", get_D3D_comparison_string(ctx));
emit_D3D_opcode_ss(ctx, op);
} // emit_D3D_IFC

Expand Down

0 comments on commit 9d94628

Please sign in to comment.