From: Ian Romanick Date: Fri, 21 Mar 2008 00:36:31 +0000 (-0700) Subject: cell: Call the correct function to generate blending code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b9520fc05f169b74835c096c933d67c67c6d8cd;p=mesa.git cell: Call the correct function to generate blending code Cut-and-paste for the lose. :( --- diff --git a/src/gallium/drivers/cell/ppu/cell_pipe_state.c b/src/gallium/drivers/cell/ppu/cell_pipe_state.c index 4ca8c153b0b..86fcdcff1f6 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;