aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xa/xa_renderer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/xa/xa_renderer.c')
-rw-r--r--src/gallium/state_trackers/xa/xa_renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xa/xa_renderer.c b/src/gallium/state_trackers/xa/xa_renderer.c
index b7755095a37..9ba78bed4df 100644
--- a/src/gallium/state_trackers/xa/xa_renderer.c
+++ b/src/gallium/state_trackers/xa/xa_renderer.c
@@ -380,7 +380,7 @@ renderer_set_constants(struct xa_context *r,
pipe_resource_reference(cbuf, NULL);
*cbuf = pipe_buffer_create(r->pipe->screen,
- PIPE_BIND_CONSTANT_BUFFER, PIPE_USAGE_STATIC,
+ PIPE_BIND_CONSTANT_BUFFER, PIPE_USAGE_DEFAULT,
param_bytes);
if (*cbuf) {