summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-12-07 19:29:26 -0800
committerEric Anholt <[email protected]>2010-12-07 19:33:47 -0800
commit2f07a744f127a232943101d5cc7fd533859c2ca9 (patch)
tree5fda92b976d70897decc4891bbefa307bae9a303 /src/mesa/drivers
parent002cd2c8d439729227c79093bdbf8a269e72c19f (diff)
i965: Don't try to store gen6 (float) blend constant color in bytes.
Fixes glean/blendFunc
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/gen6_cc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen6_cc.c b/src/mesa/drivers/dri/i965/gen6_cc.c
index 800a2555214..f51cf5f1120 100644
--- a/src/mesa/drivers/dri/i965/gen6_cc.c
+++ b/src/mesa/drivers/dri/i965/gen6_cc.c
@@ -172,7 +172,7 @@ const struct brw_tracked_state gen6_blend_state = {
};
struct gen6_color_calc_state_key {
- GLubyte blend_constant_color[4];
+ float blend_constant_color[4];
GLclampf alpha_ref;
GLubyte stencil_ref[2];
};