Hi Robert,
I made a few changes in src\osgPlugins\tiff\ReaderWriterTIFF.cpp to avoid an unexpected program termination when using very lage textures. I an not totally sure about the portability of "new(std::nothrow)" , I need it on my WinXP/Visual studio 2008 Express system where the new operator throws an exeption, instead of returning a null pointer.


Second change: return ERROR_IN_READING_FILE on failure seems more appropriate to me.

Greetings, Laurens.
_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to