13 May
2016
13 May
'16
10:58 a.m.
On 13 May 2016 at 17:52, Aaryaman Vasishta <jem456.vasishta(a)gmail.com> wrote:
I did it so that it wouldn't call d3drm_texture_load only to realize that the image is already initialized when InitFromImage is called. I could probably add that check within d3drm_texture_load, though.
It's usually not worth optimising error paths, unless you happen to have an application that needs it.