diff options
author | Marek Olšák <marek.olsak@amd.com> | 2014-02-03 03:42:17 +0100 |
---|---|---|
committer | Marek Olšák <marek.olsak@amd.com> | 2014-02-06 17:37:34 +0100 |
commit | c32114460dbb7f33885c181a0d7dee07b15b8751 (patch) | |
tree | fd6d0a17ed48e93e42d61138d0bef80d8577f0a8 /src/gallium/auxiliary/vl/vl_winsys_dri.c | |
parent | eeb5a4a50e1317a7f8d9e168c962ce3b1d7b36f9 (diff) | |
download | external_mesa3d-c32114460dbb7f33885c181a0d7dee07b15b8751.zip external_mesa3d-c32114460dbb7f33885c181a0d7dee07b15b8751.tar.gz external_mesa3d-c32114460dbb7f33885c181a0d7dee07b15b8751.tar.bz2 |
gallium: remove PIPE_USAGE_STATIC
Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_winsys_dri.c')
-rw-r--r-- | src/gallium/auxiliary/vl/vl_winsys_dri.c | 2 |
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; |