mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
d3d9: Use IDirect3DVolume9_AddRef to increment the volume's refcount.
This commit is contained in:
parent
4a10bbc76d
commit
e51f6b644d
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ static HRESULT WINAPI IDirect3DVolumeTexture9Impl_GetVolumeLevel(IDirect3DVolume
|
|||
}
|
||||
|
||||
*volume = wined3d_resource_get_parent(sub_resource);
|
||||
IDirect3DVolumeTexture9_AddRef(*volume);
|
||||
IDirect3DVolume9_AddRef(*volume);
|
||||
wined3d_mutex_unlock();
|
||||
|
||||
return D3D_OK;
|
||||
|
|
Loading…
Reference in a new issue