[pkg-fso-commits] [SCM] xf86-video-glamo, SMedia Glamo video driver for X.Org branch, master, updated. upstream/0.0.0+20090707.git98c012f7-57-g9918e08
Thomas White
taw at bitwiz.org.uk
Fri Jan 8 13:24:48 UTC 2010
The following commit has been merged in the master branch:
commit b0f4dd62426bab9839ecff9ea266c964427b1446
Author: Thomas White <taw at bitwiz.org.uk>
Date: Tue Aug 18 23:58:43 2009 +0100
Make the buffer size for very small pixmaps sane
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 ) {
--
xf86-video-glamo, SMedia Glamo video driver for X.Org
More information about the pkg-fso-commits
mailing list