Removed deprecated code from the distribution.

Added .osg support for Texture1D and Texture3D.
This commit is contained in:
Robert Osfield
2002-08-28 15:28:11 +00:00
parent 951b6e9f3f
commit 8353fc0ed6
41 changed files with 911 additions and 1823 deletions

View File

@@ -14,7 +14,7 @@ Texture1D::Texture1D():
}
Texture1D::Texture1D(const Texture1D& text,const CopyOp& copyop):
TextureBase(text,copyop),
Texture(text,copyop),
_image(copyop(text._image.get())),
_textureWidth(text._textureWidth),
_numMimpmapLevels(text._numMimpmapLevels),
@@ -52,7 +52,7 @@ int Texture1D::compare(const StateAttribute& sa) const
}
}
int result = compareTextureBase(rhs);
int result = compareTexture(rhs);
if (result!=0) return result;
// compare each paramter in turn against the rhs.