From: Julien Isorce Date: Fri, 27 Nov 2015 08:55:55 +0000 (+0000) Subject: vl/buffers: fixes vl_video_buffer_formats for RGBX X-Git-Tag: upstream/17.1.0~14124 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=10c14919c82b0fd209500d3ecd5a8bbb2653a5a1;p=platform%2Fupstream%2Fmesa.git 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 Reviewed-by: Emil Velikov --- diff --git a/src/gallium/auxiliary/vl/vl_video_buffer.c b/src/gallium/auxiliary/vl/vl_video_buffer.c index 6cd2557..e8cd24d 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;