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.

Reviewed-by: Pekka Paalanen <[email protected]>
Signed-off-by: Armin Krezović <[email protected]>
---
 libweston/compositor.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libweston/compositor.c b/libweston/compositor.c
index 2f83313..d552e18 100644
--- a/libweston/compositor.c
+++ b/libweston/compositor.c
@@ -4514,9 +4514,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.10.0

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to