summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJulien Isorce <j.isorce@samsung.com>2015-11-27 08:55:55 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-12-04 16:33:10 +0000
commitf9a2bd212a18545864ddfea9a1bf288ba26f0e9e (patch)
tree7acc8c3c49e6fbd811fc1da7ec72bb4d1f09ce40 /src
parentaefd6769e87ba84b900db0daeaa814c83f2e6043 (diff)
vl/buffers: fixes vl_video_buffer_formats for RGBX
Fixes: 42a5e143a8d "vl/buffers: add RGBX and BGRX to the supported formats" Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Julien Isorce <j.isorce@samsung.com> Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com> (cherry picked from commit 10c14919c82b0fd209500d3ecd5a8bbb2653a5a1)
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/vl/vl_video_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/vl/vl_video_buffer.c b/src/gallium/auxiliary/vl/vl_video_buffer.c
index 6cd2557a89..e8cd24dec8 100644
--- a/src/gallium/auxiliary/vl/vl_video_buffer.c
+++ b/src/gallium/auxiliary/vl/vl_video_buffer.c
@@ -115,7 +115,7 @@ vl_video_buffer_formats(struct pipe_screen *screen, enum pipe_format format)
return const_resource_formats_VUYA;
case PIPE_FORMAT_R8G8B8X8_UNORM:
- return const_resource_formats_VUYX;
+ return const_resource_formats_YUVX;
case PIPE_FORMAT_B8G8R8X8_UNORM:
return const_resource_formats_VUYX;