Added new osg::TextureBase, osg::Texture1D, osg::Texture2D, and osg::Texture3D

classes, and changed osg::Texture and osg::TextureCubeMap so that they now derive
from osg::TextureBase.
This commit is contained in:
Robert Osfield
2002-08-24 19:39:39 +00:00
parent 0c383901a7
commit 239068f223
35 changed files with 2801 additions and 1140 deletions

View File

@@ -938,7 +938,7 @@ ImpostorSprite* CullVisitor::createImpostorSprite(Impostor& node)
stateset->setRenderBinDetails(1,"DepthSortedBin");
}
Texture* texture = impostorSprite->getTexture();
Texture2D* texture = impostorSprite->getTexture();
// update frame number to show that impostor is in action.
impostorSprite->setLastFrameUsed(getTraversalNumber());