ExaOffscreenMarkUsed: Don't crash when there's no offscreen memory.
This commit is contained in:
parent
0ede39a25c
commit
2a75c77497
|
@ -429,7 +429,7 @@ ExaOffscreenMarkUsed (PixmapPtr pPixmap)
|
||||||
ExaScreenPriv (pPixmap->drawable.pScreen);
|
ExaScreenPriv (pPixmap->drawable.pScreen);
|
||||||
static int iter = 0;
|
static int iter = 0;
|
||||||
|
|
||||||
if (!pExaPixmap->area)
|
if (!pExaPixmap || !pExaPixmap->area)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
/* The numbers here are arbitrary. We may want to tune these. */
|
/* The numbers here are arbitrary. We may want to tune these. */
|
||||||
|
|
Loading…
Reference in New Issue