vl/buffers: fixes vl_video_buffer_formats for RGBX
authorJulien Isorce <j.isorce@samsung.com>
Fri, 27 Nov 2015 08:55:55 +0000 (08:55 +0000)
committerJulien Isorce <j.isorce@samsung.com>
Mon, 30 Nov 2015 09:02:29 +0000 (09:02 +0000)
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>
src/gallium/auxiliary/vl/vl_video_buffer.c

index 6cd2557a8923e8e0fa46e684f032083b91907bec..e8cd24dec8129b78159b083925323efbb3f7418b 100644 (file)
@@ -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;