diff options
author | Marek Olšák <[email protected]> | 2017-11-07 18:53:59 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-11-09 17:32:14 +0100 |
commit | f8a4b606a232b0b5c4142d108f5fba9abe55c882 (patch) | |
tree | e9687439b1faf5c0af792f493932e2fb6640abed /src/gallium/drivers/radeon/r600_texture.c | |
parent | 6916ee7e1790ecfb0cef5e20507032d6186de569 (diff) |
radeonsi: clean up r600_surface
216 -> 160 bytes
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/r600_texture.c')
-rw-r--r-- | src/gallium/drivers/radeon/r600_texture.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/radeon/r600_texture.c b/src/gallium/drivers/radeon/r600_texture.c index bdc722ae0e1..5f6e9139d0f 100644 --- a/src/gallium/drivers/radeon/r600_texture.c +++ b/src/gallium/drivers/radeon/r600_texture.c @@ -1973,9 +1973,6 @@ static struct pipe_surface *r600_create_surface(struct pipe_context *pipe, static void r600_surface_destroy(struct pipe_context *pipe, struct pipe_surface *surface) { - struct r600_surface *surf = (struct r600_surface*)surface; - r600_resource_reference(&surf->cb_buffer_fmask, NULL); - r600_resource_reference(&surf->cb_buffer_cmask, NULL); pipe_resource_reference(&surface->texture, NULL); FREE(surface); } |