[v3 1/7] d3dx9: add test for basic effect state management.

Matteo Bruni matteo.mystral at gmail.com
Thu Mar 3 17:02:48 CST 2016


2016-03-03 13:22 GMT+01:00 Paul Gofman <gofmanp at gmail.com>:
> +
> +    if (effect)
> +        effect->lpVtbl->Release(effect);
> +}

The if is unnecessary, the effect creation should never fail (and if
it failed you would have already crashed long before that).



More information about the wine-devel mailing list