mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02: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>
(cherry picked from commit 3310acdf47)
This commit is contained in:
parent
0419b7a3a1
commit
18ef6b1265
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