Signed-off-by: Ryo Munakata <ryomnk...@gmail.com>
---
 libweston/compositor-x11.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libweston/compositor-x11.c b/libweston/compositor-x11.c
index de64e49..34ef854 100644
--- a/libweston/compositor-x11.c
+++ b/libweston/compositor-x11.c
@@ -917,8 +917,9 @@ x11_output_enable(struct weston_output *base)
                        weston_log("Failed to create pixman renderer for 
output\n");
                        x11_output_deinit_shm(b, output);
                        goto err;
-               output->base.repaint = x11_output_repaint_shm;
                }
+
+               output->base.repaint = x11_output_repaint_shm;
        } else {
                /* eglCreatePlatformWindowSurfaceEXT takes a Window*
                 * but eglCreateWindowSurface takes a Window. */
-- 
2.10.2

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

Reply via email to