mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 00:49:04 +02:00
cell: remove old surface_map code
This commit is contained in:
parent
5761c64823
commit
734dc502b8
1 changed files with 0 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue