summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_state_emit.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-03-26 10:53:47 +0100
committerMichel Dänzer <daenzer@vmware.com>2009-03-26 10:53:47 +0100
commitd332f8b4efae39f09454593374ff939a08af7619 (patch)
treef1806fc0177028e19f1da2ed06929b1bbe9c77d2 /src/gallium/drivers/nv40/nv40_state_emit.c
parent6ce06f3fbcc04b6cde52d625368266b1e69e061e (diff)
gallium: Remove some little-used fields from struct pipe_surface.
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_state_emit.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_state_emit.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/gallium/drivers/nv40/nv40_state_emit.c b/src/gallium/drivers/nv40/nv40_state_emit.c
index ce859def10..10aae29832 100644
--- a/src/gallium/drivers/nv40/nv40_state_emit.c
+++ b/src/gallium/drivers/nv40/nv40_state_emit.c
@@ -38,14 +38,6 @@ static void
nv40_state_do_validate(struct nv40_context *nv40,
struct nv40_state_entry **states)
{
- const struct pipe_framebuffer_state *fb = &nv40->framebuffer;
- unsigned i;
-
- for (i = 0; i < fb->nr_cbufs; i++)
- fb->cbufs[i]->status = PIPE_SURFACE_STATUS_DEFINED;
- if (fb->zsbuf)
- fb->zsbuf->status = PIPE_SURFACE_STATUS_DEFINED;
-
while (*states) {
struct nv40_state_entry *e = *states;