Hi,

In this commit:

https://github.com/OpenImageIO/oiio/commit/cec86cd03230293bc9091e8c9a681115792bb6f3#diff-05487b27ae741be8268d20d7cdd48991

it looks like resize went from natively supporting type double to
converting it to float. We have some situations where we use double that
this change between 1.5 to 1.8 is causing an issue.

I was wondering what you thought about going for the slower-to-compile,
more-templated-types way via an ifdef. Something like:

#ifdef MORE_TEMPLATES_MORE_FUN
    OIIO_DISPATCH_TYPES2 (...
#else
    OIIO_DISPATCH_COMMON_TYPES2 (...
#endif

We can also just modify it locally, but I thought it might be more
generally useful. (If this has been discussed to death, apologies, I
couldn't find it and am woefully behind the times).

Thanks again for the wonderful library.

                                        -- Alex

-- 
|o|  Alex Suter  |o|  R&D SF  |o|  x62368  |o|
_______________________________________________
Oiio-dev mailing list
[email protected]
http://lists.openimageio.org/listinfo.cgi/oiio-dev-openimageio.org

Reply via email to