I use osg 2.3.7 on vista in a ref class the following lines:
osg::Image * image = new osg::Image; image->setImage(width, height, 0, GL_RGBA, GL_RGBA, GL_UNSIGNED_BYTE, pixels, osg::Image::AllocationMode::USE_NEW_DELETE); causes the warning: Warning 4 warning C4482: nonstandard extension used: enum 'osg::Image::AllocationMode' used in qualified name ... isnt this the correct way of creating a image if the pixels have been created using new? Erlend
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

