diff options
author | Michel Dänzer <[email protected]> | 2009-03-26 10:53:47 +0100 |
---|---|---|
committer | Michel Dänzer <[email protected]> | 2009-03-26 10:53:47 +0100 |
commit | d332f8b4efae39f09454593374ff939a08af7619 (patch) | |
tree | f1806fc0177028e19f1da2ed06929b1bbe9c77d2 /src/gallium/drivers/softpipe/sp_setup.c | |
parent | 6ce06f3fbcc04b6cde52d625368266b1e69e061e (diff) |
gallium: Remove some little-used fields from struct pipe_surface.
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_setup.c')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_setup.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/gallium/drivers/softpipe/sp_setup.c b/src/gallium/drivers/softpipe/sp_setup.c index 96cb09b9051..711343abe67 100644 --- a/src/gallium/drivers/softpipe/sp_setup.c +++ b/src/gallium/drivers/softpipe/sp_setup.c @@ -1489,16 +1489,6 @@ void setup_prepare( struct setup_context *setup ) softpipe_update_derived(sp); } - /* Mark surfaces as defined now */ - for (i = 0; i < sp->framebuffer.nr_cbufs; i++){ - if (sp->framebuffer.cbufs[i]) { - sp->framebuffer.cbufs[i]->status = PIPE_SURFACE_STATUS_DEFINED; - } - } - if (sp->framebuffer.zsbuf) { - sp->framebuffer.zsbuf->status = PIPE_SURFACE_STATUS_DEFINED; - } - /* Note: nr_attrs is only used for debugging (vertex printing) */ setup->quad.nr_attrs = draw_num_vs_outputs(sp->draw); |