From c4e14f2788d145c4d4407451ac0772269cd61cdc Mon Sep 17 00:00:00 2001 From: icculus Date: Fri, 21 Mar 2008 18:51:32 -0400 Subject: [PATCH] [svn] Doh. Fixed DEFB output in the D3D profile. --HG-- branch : trunk --- d3d2glsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d3d2glsl.c b/d3d2glsl.c index bda482a5..58545a99 100644 --- a/d3d2glsl.c +++ b/d3d2glsl.c @@ -977,7 +977,7 @@ static void emit_D3D_DEFI(Context *ctx) static void emit_D3D_DEFB(Context *ctx) { const char *dst0 = make_D3D_destarg_string(ctx, 0); - output_line(ctx, "defb%s, %s", dst0, ctx->dwords ? "true" : "false"); + output_line(ctx, "defb%s, %s", dst0, ctx->dwords[0] ? "true" : "false"); } // emit_D3D_DEFB