Commit f85e4edb authored by Łukasz Spintzyk's avatar Łukasz Spintzyk Committed by Your Name
Browse files

modesetting: unflip not possible when glamor is not set

This is fixing crashes of xfce when running under qemu

(cherry picked from commit 8836b9d2)
parent b03d7184
Pipeline #370115 passed with stages
in 6 minutes and 7 seconds
......@@ -257,6 +257,9 @@ ms_present_check_unflip(RRCrtcPtr crtc,
pixmap->devKind != drmmode_bo_get_pitch(&ms->drmmode.front_bo))
return FALSE;
if (!ms->drmmode.glamor)
return FALSE;
/* Check if buffer format/modifier is supported by all active CRTCs */
gbm = glamor_gbm_bo_from_pixmap(screen, pixmap);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment