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:
Daniel Stone 2022-05-19 23:04:02 +01:00 committed by Pekka Paalanen
parent c3d84293b9
commit dfaba9f107

View file

@ -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 {