[PATCH 02/10] d3d9: avoid using a wined3d_surface in get_desc calls inside d3d9_device_StretchRect

Riccardo Bortolato rikyz619 at gmail.com
Tue Oct 20 09:48:49 CDT 2015


Alright, I will remove the checks even I thought we were checking this
everytime we call it regardless it can fail or not (plus it seems
somehow harmless to me).

Ciao,
Riccardo

2015-10-20 16:36 GMT+02:00 Henri Verbeet <hverbeet at gmail.com>:
> On 19 October 2015 at 19:07, Riccardo Bortolato <rikyz619 at gmail.com> wrote:
>> +    if (!(sub_resource = wined3d_texture_get_sub_resource(dst->wined3d_texture, dst->sub_resource_idx)))
>> +        goto done;
> This should never fail.
>
>



More information about the wine-devel mailing list