gl-renderer: Fix plane count for legacy YUV420 images
It's three planes, not two.
Signed-off-by: Daniel Stone <daniels@collabora.com>
Fixes: 8b167a1703
("gl-renderer: Store EGL buffer state in weston_buffer")
This commit is contained in:
parent
f36d77a199
commit
c3d84293b9
@ -2180,7 +2180,7 @@ gl_renderer_fill_buffer_info(struct weston_compositor *ec,
|
||||
break;
|
||||
case EGL_TEXTURE_Y_U_V_WL:
|
||||
fourcc = DRM_FORMAT_YUV420;
|
||||
gb->num_images = 2;
|
||||
gb->num_images = 3;
|
||||
gb->shader_variant = SHADER_VARIANT_Y_U_V;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user