summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_pipe.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-09-11 18:46:54 +0200
committerMarek Olšák <[email protected]>2011-09-12 22:03:03 +0200
commit9f0dc855b274cb2591fc6896149f9a9cabcbcab5 (patch)
tree1d6e925a3e99e398bd0c102e49f332261fea2498 /src/gallium/drivers/r600/r600_pipe.c
parentac028b20e5431ed3c78b6a4a9192e84f6873c9fd (diff)
r600g: remove r600_resource_buffer struct
This subclass of r600_resource doesn't contain any useful members, so let's just use r600_resource.
Diffstat (limited to 'src/gallium/drivers/r600/r600_pipe.c')
-rw-r--r--src/gallium/drivers/r600/r600_pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_pipe.c b/src/gallium/drivers/r600/r600_pipe.c
index f22ab524b0d..48b0fe97a6a 100644
--- a/src/gallium/drivers/r600/r600_pipe.c
+++ b/src/gallium/drivers/r600/r600_pipe.c
@@ -745,7 +745,7 @@ struct pipe_screen *r600_screen_create(struct radeon_winsys *ws)
util_format_s3tc_init();
util_slab_create(&rscreen->pool_buffers,
- sizeof(struct r600_resource_buffer), 64,
+ sizeof(struct r600_resource), 64,
UTIL_SLAB_SINGLETHREADED);
pipe_mutex_init(rscreen->mutex_num_contexts);