[Oiio-dev] get_texels - recursing to stack overflow?
Simon Smith
simon at lightmap.co.uk
Thu Mar 30 08:05:36 PDT 2017
Hi guys,
I’m using 1.7.10 and the call to TextureSystem get_texels(ustring filename ….) call and it seems to just recurses infinitely into itself.
Looking at the codebase, should the last return get_texels(…) call actually be calling the TextureHandle version since it’s gone into the cache to get the TextureFile pointer to check it exists and can presumably grab a handle from there?
It’s quite possible I’m using it incorrectly, but thought I’d just ask first.
Previous versions of OIIO have not had this problem, but that was back with version 1.5.16 and I can see that it has changed somewhat since that version!
Cheers,
Simon
More information about the Oiio-dev
mailing list