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>
dev
Daniel Stone 3 years ago committed by Pekka Paalanen
parent c3d84293b9
commit dfaba9f107
  1. 2
      libweston/renderer-gl/gl-renderer.c

@ -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…
Cancel
Save