summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2008-03-20 17:36:31 -0700
committerIan Romanick <idr@us.ibm.com>2008-03-20 17:37:26 -0700
commit4b9520fc05f169b74835c096c933d67c67c6d8cd (patch)
treef87c7c88f3928675a689b5e1ee0e580984c05ee7 /src/gallium/drivers
parentdf1d6e2410dbc6af66ca416124587918b9764ee8 (diff)
cell: Call the correct function to generate blending code
Cut-and-paste for the lose. :(
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_pipe_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_pipe_state.c b/src/gallium/drivers/cell/ppu/cell_pipe_state.c
index 4ca8c153b0..86fcdcff1f 100644
--- a/src/gallium/drivers/cell/ppu/cell_pipe_state.c
+++ b/src/gallium/drivers/cell/ppu/cell_pipe_state.c
@@ -63,7 +63,7 @@ cell_bind_blend_state(struct pipe_context *pipe, void *state)
draw_flush(cell->draw);
if ((blend != NULL) && (blend->code.store == NULL)) {
- cell_generate_depth_stencil_test(blend);
+ cell_generate_alpha_blend(blend, &cell->blend_color);
}
cell->blend = blend;