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:
parent
91ec6245d6
commit
ba6a928381
|
@ -534,6 +534,7 @@ rrSetupPixmapSharing(RRCrtcPtr crtc, int width, int height,
|
||||||
width, height, depth,
|
width, height, depth,
|
||||||
x, y, rotation);
|
x, y, rotation);
|
||||||
if (spix_front == NULL) {
|
if (spix_front == NULL) {
|
||||||
|
ErrorF("randr: failed to create shared pixmap\n");
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue