-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Am 2016-05-08 um 11:31 schrieb Aaryaman Vasishta:
> + if (!d3drm_validate_image(image))
> + return D3DRMERR_BADVALUE;
Is this necessary? InitFromImage does it anyway I think.
>
> if (FAILED(hr = d3drm_texture_create(&object)))
> return hr;
You could call the public CreateObject method here, but I don't have a strong opinion on this.