ScopedLock<ReentrantMutex> lock(readerMutex);
// XXX Workaround for OSG plugin bug.
- Registry* registry = Registry::instance();
+// Registry* registry = Registry::instance();
ReaderWriter::ReadResult res;
CallbackMap::iterator iter
= nodeCallbackMap.find(getFileExtension(fileName));
using namespace osg;
using namespace osgDB;
using osgDB::ReaderWriter;
- Registry* registry = Registry::instance();
+// Registry* registry = Registry::instance();
ref_ptr<osg::Node> optimizedNode = _cachePolicy.find(fileName, opt);
if (!optimizedNode.valid()) {
std::string otherFileName = _substitutePolicy.substitute(fileName,
using namespace osg;
using namespace std;
- for (int i = 0; i < geode.getNumDrawables(); ++i)
+ for (int i = 0; i < (int)geode.getNumDrawables(); ++i)
geode.getDrawable(i)->setUseDisplayList(false);
}
};
static Mutex cubeMutex;
+#if 0
static osg::TextureCubeMap*
getOrCreateTextureCubeMap()
{
te->setOperand1_RGB(osg::TexEnvCombine::SRC_COLOR);
ss->setTextureAttributeAndModes(0, te, osg::StateAttribute::OVERRIDE | osg::StateAttribute::ON);
}
+#endif
SGShaderAnimation::SGShaderAnimation(const SGPropertyNode* configNode,