Commit e51f6b64 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

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

parent 4a10bbc7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment