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 <davyaxel0@gmail.com>
Acked-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9177>
This commit is contained in:
Axel Davy 2021-02-03 23:12:12 +01:00
parent b383b1e01a
commit d730f8d7a9

View file

@ -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,