Quick fix for NULL pixmaps with server 1.14.
Problem reported and fix tested by J. Scott Heppler. Thanks.
This commit is contained in:
parent
7c02ec8a3f
commit
076750ef37
@ -1878,6 +1878,9 @@ SiSUploadToScreen(PixmapPtr pDst, int x, int y, int w, int h, char *src, int src
|
||||
int dst_pitch = exaGetPixmapPitch(pDst);
|
||||
|
||||
(pSiS->SyncAccel)(pScrn);
|
||||
|
||||
if (dst == NULL)
|
||||
return FALSE;
|
||||
|
||||
if(pDst->drawable.bitsPerPixel < 8)
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user