They were required for transitional phase in order not to break previous weston_output_init(). Now, they can even be initialized on enable, or left with defaults if backend doesn't support them.
Signed-off-by: Armin Krezović <krezovic.ar...@gmail.com> --- libweston/compositor.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libweston/compositor.c b/libweston/compositor.c index 9835f89..a45b96f 100644 --- a/libweston/compositor.c +++ b/libweston/compositor.c @@ -4505,9 +4505,6 @@ weston_output_enable(struct weston_output *output) if (!wl_list_empty(&c->output_list)) x = iterator->x + iterator->width; - /* Make sure the width and height are configured */ - assert(output->mm_width && output->mm_height); - /* Make sure the scale is set up */ assert(output->scale); -- 2.9.3 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel