Changed StateAttribute::getAssociatedModes(std::vector<GLMode>&) across
to StateAttribute::getModeUsage(StateAttribute::ModeUsage&).
This commit is contained in:
@@ -38,9 +38,10 @@ class SG_EXPORT TextureRectangle : 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<GLMode>& modes) const
|
||||
virtual bool getModeUsage(ModeUsage& usage) const
|
||||
{
|
||||
modes.push_back(GL_TEXTURE_RECTANGLE_NV);
|
||||
usage.usesTextureMode(GL_TEXTURE_RECTANGLE_NV);
|
||||
return true;
|
||||
}
|
||||
|
||||
/** Set the texture image. */
|
||||
|
||||
Reference in New Issue
Block a user