13 May
2016
13 May
'16
10:25 a.m.
On 11 May 2016 at 21:19, Aaryaman Vasishta <jem456.vasishta(a)gmail.com> wrote:
+ if (FAILED(hr = IDirect3DRMTexture3_InitFromImage(*texture, image))) + { + IDirect3DRMTexture3_Release(*texture); + return D3DRMERR_BADVALUE; + } You're not using the value of "hr", so the assignment is redundant.