summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/ilo/ilo_blitter.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_blitter.c')
-rw-r--r--src/gallium/drivers/ilo/ilo_blitter.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/ilo/ilo_blitter.c b/src/gallium/drivers/ilo/ilo_blitter.c
index d08563da436..10335920364 100644
--- a/src/gallium/drivers/ilo/ilo_blitter.c
+++ b/src/gallium/drivers/ilo/ilo_blitter.c
@@ -70,10 +70,5 @@ ilo_blitter_destroy(struct ilo_blitter *blitter)
if (blitter->pipe_blitter)
util_blitter_destroy(blitter->pipe_blitter);
- if (blitter->buffer.res) {
- struct pipe_screen *screen = blitter->ilo->base.screen;
- screen->resource_destroy(screen, blitter->buffer.res);
- }
-
FREE(blitter);
}