summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_query.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-07-23 04:11:31 +0200
committerMarek Olšák <[email protected]>2011-07-25 23:10:40 +0200
commit7db148d3a5a350f80df8dc588e0079fda7aa378a (patch)
treee44e37b0d5e5bb6ea6cf3bf872598d650d66da38 /src/gallium/drivers/r300/r300_query.c
parente22a1005c0913b404ae82650cdc4f58bcbd5445b (diff)
winsys/radeon: remove usage parameter from buffer_create
Diffstat (limited to 'src/gallium/drivers/r300/r300_query.c')
-rw-r--r--src/gallium/drivers/r300/r300_query.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_query.c b/src/gallium/drivers/r300/r300_query.c
index 000114129bf..c0357f9d035 100644
--- a/src/gallium/drivers/r300/r300_query.c
+++ b/src/gallium/drivers/r300/r300_query.c
@@ -57,8 +57,7 @@ static struct pipe_query *r300_create_query(struct pipe_context *pipe,
/* Open up the occlusion query buffer. */
q->buf = r300->rws->buffer_create(r300->rws, q->buffer_size, 4096,
- PIPE_BIND_CUSTOM, PIPE_USAGE_STREAM,
- q->domain);
+ PIPE_BIND_CUSTOM, q->domain);
q->cs_buf = r300->rws->buffer_get_cs_handle(q->buf);
return (struct pipe_query*)q;