summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_texture.c
diff options
context:
space:
mode:
authorMarek Olšák <maraeo@gmail.com>2011-07-23 04:11:31 +0200
committerMarek Olšák <maraeo@gmail.com>2011-07-25 23:10:40 +0200
commit7db148d3a5a350f80df8dc588e0079fda7aa378a (patch)
treee44e37b0d5e5bb6ea6cf3bf872598d650d66da38 /src/gallium/drivers/r300/r300_texture.c
parente22a1005c0913b404ae82650cdc4f58bcbd5445b (diff)
downloadexternal_mesa3d-7db148d3a5a350f80df8dc588e0079fda7aa378a.zip
external_mesa3d-7db148d3a5a350f80df8dc588e0079fda7aa378a.tar.gz
external_mesa3d-7db148d3a5a350f80df8dc588e0079fda7aa378a.tar.bz2
winsys/radeon: remove usage parameter from buffer_create
Diffstat (limited to 'src/gallium/drivers/r300/r300_texture.c')
-rw-r--r--src/gallium/drivers/r300/r300_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_texture.c b/src/gallium/drivers/r300/r300_texture.c
index 62c2f1f..08fccbe 100644
--- a/src/gallium/drivers/r300/r300_texture.c
+++ b/src/gallium/drivers/r300/r300_texture.c
@@ -926,7 +926,7 @@ r300_texture_create_object(struct r300_screen *rscreen,
if (!buffer) {
tex->buf_size = tex->tex.size_in_bytes;
tex->buf = rws->buffer_create(rws, tex->tex.size_in_bytes, 2048,
- base->bind, base->usage, tex->domain);
+ base->bind, tex->domain);
if (!tex->buf) {
FREE(tex);