Module: Mesa Branch: master Commit: d730f8d7a9bd3d9291562020503282dd94710717 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d730f8d7a9bd3d9291562020503282dd94710717
Author: Axel Davy <[email protected]> Date: Wed Feb 3 23:12:12 2021 +0100 st/nine: Protect *PrivateData also for Volumes *PrivateData functions were not protected by a mutex for Volumes whereas they definitely should. Signed-off-by: Axel Davy <[email protected]> Acked-by: Timur Kristóf <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9177> --- src/gallium/frontends/nine/nine_lock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/frontends/nine/nine_lock.c b/src/gallium/frontends/nine/nine_lock.c index ca0f04a69b3..4d24a572ffb 100644 --- a/src/gallium/frontends/nine/nine_lock.c +++ b/src/gallium/frontends/nine/nine_lock.c @@ -3180,9 +3180,9 @@ IDirect3DVolume9Vtbl LockVolume9_vtable = { (void *)NineUnknown_AddRef, (void *)NineUnknown_ReleaseWithDtorLock, (void *)NineUnknown_GetDevice, /* actually part of Volume9 iface */ - (void *)NineUnknown_SetPrivateData, - (void *)NineUnknown_GetPrivateData, - (void *)NineUnknown_FreePrivateData, + (void *)LockUnknown_SetPrivateData, + (void *)LockUnknown_GetPrivateData, + (void *)LockUnknown_FreePrivateData, (void *)LockVolume9_GetContainer, (void *)NineVolume9_GetDesc, /* immutable */ (void *)LockVolume9_LockBox, _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
