diff options
author | Marek Olšák <[email protected]> | 2011-02-10 05:36:44 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-02-10 11:27:35 +0100 |
commit | 56ba7e913fef0ea2b1bead582108f9ab3ab8263d (patch) | |
tree | f65cb5007441ab0a8fc07e6baa13efc71218acbe /src/gallium/drivers/r300/r300_screen.c | |
parent | ce9c0d280104c8001a3ee360b07218ad3d260e46 (diff) |
r300g: consolidate buffers and textures to r300_resource
Transfers and create/destroy are still handled separately.
Diffstat (limited to 'src/gallium/drivers/r300/r300_screen.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_screen.c b/src/gallium/drivers/r300/r300_screen.c index fc8131f03be..f54ba4286d9 100644 --- a/src/gallium/drivers/r300/r300_screen.c +++ b/src/gallium/drivers/r300/r300_screen.c @@ -459,7 +459,7 @@ struct pipe_screen* r300_screen_create(struct r300_winsys_screen *rws) rws->get_value(rws, R300_VID_DRM_2_3_0); util_slab_create(&r300screen->pool_buffers, - sizeof(struct r300_buffer), 64, + sizeof(struct r300_resource), 64, UTIL_SLAB_SINGLETHREADED); r300screen->rws = rws; |