Removed parameter validation from Texture::set* calls since validation is already done in ValidateTexParamParameters.
TRAC #23908
Signed-off-by: Jamie Madill
Signed-off-by: Shannon Woods
diff --git a/src/libGLESv2/Texture.h b/src/libGLESv2/Texture.h
index 2d729f6..3c3ede3 100644
--- a/src/libGLESv2/Texture.h
+++ b/src/libGLESv2/Texture.h
@@ -69,15 +69,15 @@
GLenum getTarget() const;
- bool setMinFilter(GLenum filter);
- bool setMagFilter(GLenum filter);
- bool setWrapS(GLenum wrap);
- bool setWrapT(GLenum wrap);
- bool setWrapR(GLenum wrap);
- bool setMaxAnisotropy(float textureMaxAnisotropy, float contextMaxAnisotropy);
- bool setCompareMode(GLenum mode);
- bool setCompareFunc(GLenum func);
- bool setUsage(GLenum usage);
+ void setMinFilter(GLenum filter);
+ void setMagFilter(GLenum filter);
+ void setWrapS(GLenum wrap);
+ void setWrapT(GLenum wrap);
+ void setWrapR(GLenum wrap);
+ void setMaxAnisotropy(float textureMaxAnisotropy, float contextMaxAnisotropy);
+ void setCompareMode(GLenum mode);
+ void setCompareFunc(GLenum func);
+ void setUsage(GLenum usage);
GLenum getMinFilter() const;
GLenum getMagFilter() const;