From 1feee7b1b39e54c279ffdc3c27f3911c04658430 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 10 Jan 2011 14:04:02 -0800 Subject: i965: Rename more #defines to 3DSTATE rather than CMD or CMD_3D. Again, this makes it match the documentation. --- src/mesa/drivers/dri/i965/brw_cc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/drivers/dri/i965/brw_cc.c') diff --git a/src/mesa/drivers/dri/i965/brw_cc.c b/src/mesa/drivers/dri/i965/brw_cc.c index d3a1233aac..d286c9dbdc 100644 --- a/src/mesa/drivers/dri/i965/brw_cc.c +++ b/src/mesa/drivers/dri/i965/brw_cc.c @@ -239,7 +239,7 @@ static void upload_blend_constant_color(struct brw_context *brw) struct brw_blend_constant_color bcc; memset(&bcc, 0, sizeof(bcc)); - bcc.header.opcode = CMD_BLEND_CONSTANT_COLOR; + bcc.header.opcode = _3DSTATE_BLEND_CONSTANT_COLOR; bcc.header.length = sizeof(bcc)/4-2; bcc.blend_constant_color[0] = ctx->Color.BlendColor[0]; bcc.blend_constant_color[1] = ctx->Color.BlendColor[1]; -- cgit v1.2.3