Skip to content
Snippets Groups Projects
Commit e6dec90e authored by Ryo Munakata's avatar Ryo Munakata Committed by Daniel Stone
Browse files

compositor-x11: fix segfault when use_pixman is true


Signed-off-by: default avatarRyo Munakata <ryomnktml@gmail.com>
Reviewed-by: Daniel Stone's avatarDaniel Stone <daniels@collabora.com>
parent 04bd0402
No related branches found
No related tags found
No related merge requests found
......@@ -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. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment