Integrated Brede Johansen's updates to flt loader.

This commit is contained in:
Robert Osfield
2001-12-04 16:03:10 +00:00
parent 3e940e0b33
commit d7ded2d90f
30 changed files with 1646 additions and 862 deletions

View File

@@ -54,14 +54,14 @@ Record* Registry::getPrototype(const int opcode)
///////////////////////////////////////////////////////////////////
void Registry::addTexture(const std::string& name, osg::Texture* texture)
void Registry::addTexture(const std::string& name, osg::StateSet* texture)
{
if (texture == NULL) return;
_textureMap[name] = texture;
}
osg::Texture* Registry::getTexture(const std::string name)
osg::StateSet* Registry::getTexture(const std::string name)
{
TextureMap::iterator itr = _textureMap.find(name);
if (itr != _textureMap.end())