d3d9: Use IDirect3DVolume9_AddRef to increment the volume's refcount.

This commit is contained in:
Henri Verbeet 2011-03-14 21:03:00 +01:00 committed by Alexandre Julliard
parent 4a10bbc76d
commit e51f6b644d

View file

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