From 478f736f6304b9558c82ead6b13fb7d89d4ff160 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 7 Oct 2002 11:06:37 +0000 Subject: [PATCH] Added missing osg::TextureCubeMap::getAssociatedMode(). --- include/osg/TextureCubeMap | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/osg/TextureCubeMap b/include/osg/TextureCubeMap index 6f1de0b0b..8fea4a273 100644 --- a/include/osg/TextureCubeMap +++ b/include/osg/TextureCubeMap @@ -29,6 +29,11 @@ class SG_EXPORT TextureCubeMap : public Texture /** return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.*/ virtual int compare(const StateAttribute& rhs) const; + virtual void getAssociatedModes(std::vector& modes) const + { + modes.push_back(GL_TEXTURE_CUBE_MAP); + } + enum Face { POSITIVE_X=0, NEGATIVE_X=1,