Merge remote-tracking branch 'jcristau/for-keith'
This commit is contained in:
commit
05f09354a3
|
@ -481,7 +481,7 @@ doShmPutImage(DrawablePtr dst, GCPtr pGC,
|
|||
{
|
||||
PixmapPtr pPixmap;
|
||||
|
||||
if (format == ZPixmap || depth == 1) {
|
||||
if (format == ZPixmap || (format == XYPixmap && depth == 1)) {
|
||||
pPixmap = GetScratchPixmapHeader(dst->pScreen, w, h, depth,
|
||||
BitsPerPixel(depth),
|
||||
PixmapBytePad(w, depth),
|
||||
|
|
Loading…
Reference in New Issue
Block a user