summaryrefslogtreecommitdiff
path: root/src/glamo-kms-exa.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/glamo-kms-exa.c')
-rw-r--r--src/glamo-kms-exa.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/glamo-kms-exa.c b/src/glamo-kms-exa.c
index e7d78cf..6a78c79 100644
--- a/src/glamo-kms-exa.c
+++ b/src/glamo-kms-exa.c
@@ -476,8 +476,10 @@ static Bool GlamoKMSExaModifyPixmapHeader(PixmapPtr pPix, int width, int height,
new_size = (width * height * depth) / 8;
if ( new_size == 0 ) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
- "Zero-sized pixmap in ModifyPixmapHeader\n");
- return FALSE;
+ "Zero-sized pixmap in ModifyPixmapHeader"
+ " %ix%i %i bpp depth=%i\n", width, height,
+ bitsPerPixel, depth);
+ new_size = 1;
}
if ( priv->bo == NULL ) {