2018-02-14 14:57 GMT+01:00 Henri Verbeet hverbeet@gmail.com:
On 13 February 2018 at 03:30, Matteo Bruni mbruni@codeweavers.com wrote:
@@ -95,6 +151,8 @@ static ULONG WINAPI d3d9_texture_2d_Release(IDirect3DTexture9 *iface) struct d3d9_surface *surface;
wined3d_mutex_lock();
if (texture->wined3d_srv)
wined3d_shader_resource_view_decref(texture->wined3d_srv);
Shouldn't this happen for volume textures as well?
wined3d_srv should never be set for volume textures but sure, I could add the release there too, to be safe WRT future changes.