Hello Robert,

There is a warning that shows up in the latest SVN in  
include/osg/DatabasePager when compiling on Win32 (VC++2005 Express):

1>G:\OpenSceneGraph-SVN\OpenSceneGraph\include\osgDB/DatabasePager(337) :  
warning C4800: 'osg::Texture::TextureObject *' : forcing value to bool  
'true' or 'false' (performance warning)

Replacing this:

     // in bool isCompiled(...)
     return texture->getTextureObject(contextID);

with this:

     return (texture->getTextureObject(contextID) ? true : false);

fixes it.

Thanks,

J-S
-- 
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                         http://whitestar02.webhop.org/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to