From: Brian Paul Date: Thu, 19 Feb 2009 04:35:56 +0000 (-0700) Subject: cell: remove old surface_map code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=734dc502b866995884fdbcae9c716b26c7838b9c;p=mesa.git cell: remove old surface_map code --- diff --git a/src/gallium/drivers/cell/ppu/cell_clear.c b/src/gallium/drivers/cell/ppu/cell_clear.c index c2e276988ca..39c5f937b9c 100644 --- a/src/gallium/drivers/cell/ppu/cell_clear.c +++ b/src/gallium/drivers/cell/ppu/cell_clear.c @@ -77,11 +77,6 @@ cell_clear_surface(struct pipe_context *pipe, struct pipe_surface *ps, if (cell->dirty) cell_update_derived(cell); - - if (!cell->cbuf_map[0]) - cell->cbuf_map[0] = screen->surface_map(screen, ps, - PIPE_BUFFER_USAGE_GPU_WRITE); - if (ps == cell->framebuffer.zsbuf) { /* clear z/stencil buffer */ surfIndex = 1;