Re: [v3 1/7] d3dx9: add test for basic effect state management.
March 3, 2016
11:02 p.m.
2016-03-03 13:22 GMT+01:00 Paul Gofman <gofmanp(a)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).
3676
Age (days ago)
3676
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matteo Bruni