On 11 May 2016 at 21:19, Aaryaman Vasishta <jem456.vasishta@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.