mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-29 01:30:08 +01:00
xorg: fix exa finish access
The exa core will already set the pointer to NULL prior calling the callback function. So don't bail out in the callback if it's already NULL. Signed-off-by: Jerome Glisse <jglisse@redhat.com>
This commit is contained in:
parent
1fe007399c
commit
3310acdf47
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ ExaFinishAccess(PixmapPtr pPix, int index)
|
|||
if (!priv)
|
||||
return;
|
||||
|
||||
if (!priv->map_transfer || pPix->devPrivate.ptr == NULL)
|
||||
if (!priv->map_transfer)
|
||||
return;
|
||||
|
||||
exa_debug_printf("ExaFinishAccess %d\n", index);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue