mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-20 10:30:02 +01:00
ExaOffscreenMarkUsed: Don't crash when there's no offscreen memory.
This commit is contained in:
parent
0ede39a25c
commit
2a75c77497
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue