mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 23:28:06 +02:00
vl/buffers: fixes vl_video_buffer_formats for RGBX
Fixes: 42a5e143a8 "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>
This commit is contained in:
parent
a348fe89af
commit
10c14919c8
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue