[svn] Doh. Fixed DEFB output in the D3D profile. trunk
authoricculus
Fri, 21 Mar 2008 18:51:32 -0400
branchtrunk
changeset 32 bfb775b9baac
parent 31 ee4ff9d30b67
child 33 8b71012ebf65
[svn] Doh. Fixed DEFB output in the D3D profile.
d3d2glsl.c
--- a/d3d2glsl.c	Fri Mar 21 18:49:17 2008 -0400
+++ b/d3d2glsl.c	Fri Mar 21 18:51:32 2008 -0400
@@ -977,7 +977,7 @@
 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