Updates to Texture and TextureCubeMap to clean up the code so they share

much more of the core texture setup code. This largely invloved paramterizing
the applyImmediateMode, which has also been rename applyTexImage to reflect
its functionality better.
This commit is contained in:
Robert Osfield
2002-03-20 11:24:47 +00:00
parent 8c9609b331
commit 0b27e5c381
5 changed files with 86 additions and 316 deletions

View File

@@ -45,11 +45,6 @@ class SG_EXPORT TextureCubeMap : public Texture
* texture and bind it, subsequent apply will simple bind to texture.*/
virtual void apply(State& state) const;
/** Method which does the creation of the texture itself, and
* does not set or use texture binding. */
virtual void applyImmediateMode(State& state) const;
virtual void applyFaceImmediateMode(GLenum facetarget, Image* image, State& state) const;
protected :
virtual ~TextureCubeMap();