Hi J-S, Paul Martz sent the fix into osg-submissions, I merged this first thing when I booted up my machine this morning, an svn update will get this fix.
On Dec 12, 2007 2:00 AM, Jean-Sébastien Guay <[EMAIL PROTECTED]> wrote: > 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 > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

