[PATCH v2 2/5] d3d9: Handle D3DUSAGE_AUTOGENMIPMAP textures entirely in d3d9.

Henri Verbeet hverbeet at gmail.com
Wed Feb 14 07:57:28 CST 2018


On 13 February 2018 at 03:30, Matteo Bruni <mbruni at 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?



More information about the wine-devel mailing list