From Paul Martz, "Function declaration returns a bool, function body was returning a pointer. Changed body to return (pointer != NULL)."

This commit is contained in:
Robert Osfield
2007-12-12 09:45:29 +00:00
parent a0d70bbf03
commit 1c2726fd07

View File

@@ -334,7 +334,7 @@ class OSGDB_EXPORT DatabasePager : public osg::NodeVisitor::DatabaseRequestHandl
inline static bool isCompiled(const osg::Texture* texture,
unsigned int contextID)
{
return texture->getTextureObject(contextID);
return( texture->getTextureObject(contextID) != NULL );
}
// Is texture compiled for all active contexts?
inline bool isCompiled(osg::Texture* texture) const