summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/cell/ppu
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-02-18 21:35:56 -0700
committerBrian Paul <brianp@vmware.com>2009-02-18 21:35:56 -0700
commit734dc502b866995884fdbcae9c716b26c7838b9c (patch)
tree2ab777cd1d515eb900a3c1eed926030670e6eef2 /src/gallium/drivers/cell/ppu
parent5761c64823c10093c0f72bc8a62c99b86362e4e5 (diff)
cell: remove old surface_map code
Diffstat (limited to 'src/gallium/drivers/cell/ppu')
-rw-r--r--src/gallium/drivers/cell/ppu/cell_clear.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_clear.c b/src/gallium/drivers/cell/ppu/cell_clear.c
index c2e276988c..39c5f937b9 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;