aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/xa/xa_context.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/state_trackers/xa/xa_context.c')
-rw-r--r--src/gallium/state_trackers/xa/xa_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/xa/xa_context.c b/src/gallium/state_trackers/xa/xa_context.c
index 1f4717056a9..ba220877c84 100644
--- a/src/gallium/state_trackers/xa/xa_context.c
+++ b/src/gallium/state_trackers/xa/xa_context.c
@@ -201,7 +201,7 @@ xa_ctx_srf_create(struct xa_context *ctx, struct xa_surface *dst)
}
if (!screen->is_format_supported(screen, dst->tex->format,
- PIPE_TEXTURE_2D, 0,
+ PIPE_TEXTURE_2D, 0, 0,
PIPE_BIND_RENDER_TARGET))
return -XA_ERR_INVAL;