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>
This commit is contained in:
parent
186a21c4ba
commit
dc90b1c3c3
|
@ -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