mirror of
https://gitlab.freedesktop.org/wayland/weston
synced 2024-09-06 09:56:14 +00:00
gl-renderer: Use common value for maximum plane index
Most everything else only supports 3 planes, and we don't support any four-plane YUV formats, so. Signed-off-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
c3d84293b9
commit
dfaba9f107
|
@ -137,7 +137,7 @@ struct yuv_format_descriptor {
|
|||
uint32_t format;
|
||||
int output_planes;
|
||||
enum gl_shader_texture_variant shader_variant;
|
||||
struct yuv_plane_descriptor plane[4];
|
||||
struct yuv_plane_descriptor plane[3];
|
||||
};
|
||||
|
||||
struct gl_buffer_state {
|
||||
|
|
Loading…
Reference in a new issue