summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLyude Paul <lyude@redhat.com>2018-06-20 19:12:32 -0400
committerLyude Paul <lyude@redhat.com>2018-06-27 15:08:55 -0400
commitdc90b1c3c328f1d0b022a234b69ef32bda7ccb01 (patch)
treee23eb7c808ee4fb03f9dbaf93674b9d6561c3b06
parent186a21c4bac744ffe645c8d1a6dda2d41c6d33d8 (diff)
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>
-rw-r--r--randr/rrcrtc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/randr/rrcrtc.c b/randr/rrcrtc.c
index d7d937e80..74dc5a265 100644
--- a/randr/rrcrtc.c
+++ b/randr/rrcrtc.c
@@ -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;
}