summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeon/radeon_video.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-10-24 23:26:39 +0200
committerMarek Olšák <[email protected]>2016-10-26 13:02:58 +0200
commit29144d0f34d9325a3549e4ed0feecc0577c70358 (patch)
treef73d8c2fea2d28c967f02883f75592a627cdf218 /src/gallium/drivers/radeon/radeon_video.c
parente3c3a7fadaf87f68b5d8053d21d8c986a90dec30 (diff)
gallium/radeon: stop using PIPE_BIND_CUSTOM
it has no effect whatsoever Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_video.c')
-rw-r--r--src/gallium/drivers/radeon/radeon_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeon/radeon_video.c b/src/gallium/drivers/radeon/radeon_video.c
index b4fd3065428..59e735b4744 100644
--- a/src/gallium/drivers/radeon/radeon_video.c
+++ b/src/gallium/drivers/radeon/radeon_video.c
@@ -72,7 +72,7 @@ bool rvid_create_buffer(struct pipe_screen *screen, struct rvid_buffer *buffer,
* non-sub-allocated buffer.
*/
buffer->res = (struct r600_resource *)
- pipe_buffer_create(screen, PIPE_BIND_CUSTOM | PIPE_BIND_SHARED,
+ pipe_buffer_create(screen, PIPE_BIND_SHARED,
usage, size);
return buffer->res != NULL;