summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/softpipe/sp_clear.c
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2009-03-26 10:53:47 +0100
committerMichel Dänzer <[email protected]>2009-03-26 10:53:47 +0100
commitd332f8b4efae39f09454593374ff939a08af7619 (patch)
treef1806fc0177028e19f1da2ed06929b1bbe9c77d2 /src/gallium/drivers/softpipe/sp_clear.c
parent6ce06f3fbcc04b6cde52d625368266b1e69e061e (diff)
gallium: Remove some little-used fields from struct pipe_surface.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_clear.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_clear.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_clear.c b/src/gallium/drivers/softpipe/sp_clear.c
index ad108ec446d..a60c6c4c16f 100644
--- a/src/gallium/drivers/softpipe/sp_clear.c
+++ b/src/gallium/drivers/softpipe/sp_clear.c
@@ -79,7 +79,6 @@ softpipe_clear(struct pipe_context *pipe, struct pipe_surface *ps,
if (ps == sp_tile_cache_get_surface(softpipe->zsbuf_cache)) {
sp_tile_cache_clear(softpipe->zsbuf_cache, clearValue);
- softpipe->framebuffer.zsbuf->status = PIPE_SURFACE_STATUS_CLEAR;
#if TILE_CLEAR_OPTIMIZATION
return;
#endif
@@ -96,7 +95,6 @@ softpipe_clear(struct pipe_context *pipe, struct pipe_surface *ps,
cv = clearValue;
}
sp_tile_cache_clear(softpipe->cbuf_cache[i], cv);
- softpipe->framebuffer.cbufs[i]->status = PIPE_SURFACE_STATUS_CLEAR;
}
}