cell: fix breakage from earlier draw module changes

(cherry picked from commit 6e0efad38b)
This commit is contained in:
Brian Paul 2010-05-21 09:49:08 -06:00
parent 433626e5c0
commit 5c54b54e00
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ cell_destroy_context( struct pipe_context *pipe )
static struct draw_context *
cell_draw_create(struct cell_context *cell)
{
struct draw_context *draw = draw_create();
struct draw_context *draw = draw_create(&cell->pipe);
#if 0 /* broken */
if (getenv("GALLIUM_CELL_VS")) {

View file

@ -197,7 +197,7 @@ cell_bind_rasterizer_state(struct pipe_context *pipe, void *rast)
struct cell_context *cell = cell_context(pipe);
/* pass-through to draw module */
draw_set_rasterizer_state(cell->draw, rasterizer);
draw_set_rasterizer_state(cell->draw, rasterizer, rast);
cell->rasterizer = rasterizer;