Changed the isTextureIntegerSupported method so that it no longer has the EXT entry in it

for forward compatability reasons.
This commit is contained in:
Robert Osfield
2007-09-11 12:28:03 +00:00
parent 5e83ae4821
commit c51e893ba4
2 changed files with 8 additions and 8 deletions

View File

@@ -627,8 +627,8 @@ class OSG_EXPORT Texture : public osg::StateAttribute
_isNonPowerOfTwoTextureMipMappedSupported;
}
void setTextureIntegerEXTSupported(bool flag) { _isTextureIntegerEXTSupported=flag; }
bool isTextureIntegerEXTSupported() const { return _isTextureIntegerEXTSupported; }
void setTextureIntegerSupported(bool flag) { _isTextureIntegerEXTSupported=flag; }
bool isTextureIntegerSupported() const { return _isTextureIntegerEXTSupported; }
void glTexParameterIiv(GLenum target, GLenum pname, const GLint* data) const;
void glTexParameterIuiv(GLenum target, GLenum pname, const GLuint* data) const;

View File

@@ -794,14 +794,14 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture::Extensions)
__bool__isNonPowerOfTwoTextureSupported__GLenum,
"",
"");
I_Method1(void, setTextureIntegerEXTSupported, IN, bool, flag,
I_Method1(void, setTextureIntegerSupported, IN, bool, flag,
Properties::NON_VIRTUAL,
__void__setTextureIntegerEXTSupported__bool,
__void__setTextureIntegerSupported__bool,
"",
"");
I_Method0(bool, isTextureIntegerEXTSupported,
I_Method0(bool, isTextureIntegerSupported,
Properties::NON_VIRTUAL,
__bool__isTextureIntegerEXTSupported,
__bool__isTextureIntegerSupported,
"",
"");
I_Method3(void, glTexParameterIiv, IN, GLenum, target, IN, GLenum, pname, IN, const GLint *, data,
@@ -850,9 +850,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Texture::Extensions)
I_SimpleProperty(bool, TextureFilterAnisotropicSupported,
0,
__void__setTextureFilterAnisotropicSupported__bool);
I_SimpleProperty(bool, TextureIntegerEXTSupported,
I_SimpleProperty(bool, TextureIntegerSupported,
0,
__void__setTextureIntegerEXTSupported__bool);
__void__setTextureIntegerSupported__bool);
I_SimpleProperty(bool, TextureMirroredRepeatSupported,
0,
__void__setTextureMirroredRepeatSupported__bool);