This will never work, so don't even try to do it.

Signed-off-by: Daniel Stone <dani...@collabora.com>
---
 libweston/compositor-drm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
index 65079eac0..c7ca6ef79 100644
--- a/libweston/compositor-drm.c
+++ b/libweston/compositor-drm.c
@@ -3348,6 +3348,9 @@ drm_output_propose_state(struct weston_output 
*output_base,
                if (ev->output_mask != (1u << output->base.id))
                        force_renderer = true;
 
+               if (!ev->surface->buffer_ref.buffer)
+                       force_renderer = true;
+
                /* Ignore views we know to be totally occluded. */
                pixman_region32_init(&clipped_view);
                pixman_region32_intersect(&clipped_view,
-- 
2.17.1

_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to