randr: Scream when creating a shared pixmap fails

This seems like a problem worth screaming about.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit dc90b1c3c3)
This commit is contained in:
Lyude Paul 2018-06-20 19:12:32 -04:00 committed by Adam Jackson
parent 91ec6245d6
commit ba6a928381

View File

@ -534,6 +534,7 @@ rrSetupPixmapSharing(RRCrtcPtr crtc, int width, int height,
width, height, depth,
x, y, rotation);
if (spix_front == NULL) {
ErrorF("randr: failed to create shared pixmap\n");
return FALSE;
}