Further work on trying to get glGenerateMipMapEXT working in conjunction with
frame buffer objects. Still don't work under Linux yet through :-|
This commit is contained in:
@@ -44,11 +44,7 @@ class OSG_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 bool getModeUsage(ModeUsage& usage) const
|
||||
{
|
||||
usage.usesTextureMode(GL_TEXTURE_RECTANGLE);
|
||||
return true;
|
||||
}
|
||||
virtual GLenum getTextureTarget() const { return GL_TEXTURE_RECTANGLE; }
|
||||
|
||||
/** Set the texture image. */
|
||||
void setImage(Image* image);
|
||||
|
||||
Reference in New Issue
Block a user