[PATCH 3/5] wined3d: Remove some now redundant error handling from wined3d_device_set_*() functions.

Henri Verbeet hverbeet at gmail.com
Wed Mar 4 09:17:42 CST 2020


On Wed, 4 Mar 2020 at 03:26, Zebediah Figura <z.figura12 at gmail.com> wrote:
> -    if (FAILED(hr = wined3d_light_state_set_light(&device->state.light_state, light_idx, light, &object)))
> -        return hr;
> +    if (FAILED(wined3d_light_state_set_light(&device->state.light_state, light_idx, light, &object)))
> +        return;
That doesn't look right.

It may also be worth splitting this patch, but that's up to you.



More information about the wine-devel mailing list