summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_winsys_dri.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_winsys_dri.c')
-rw-r--r--src/gallium/auxiliary/vl/vl_winsys_dri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri.c b/src/gallium/auxiliary/vl/vl_winsys_dri.c
index 3e97c56..fb4aaad 100644
--- a/src/gallium/auxiliary/vl/vl_winsys_dri.c
+++ b/src/gallium/auxiliary/vl/vl_winsys_dri.c
@@ -234,7 +234,7 @@ vl_screen_texture_from_drawable(struct vl_screen *vscreen, Drawable drawable)
template.height0 = reply->height;
template.depth0 = 1;
template.array_size = 1;
- template.usage = PIPE_USAGE_STATIC;
+ template.usage = PIPE_USAGE_DEFAULT;
template.bind = PIPE_BIND_RENDER_TARGET;
template.flags = 0;