diff --git a/src/AbstractTexture.h b/src/AbstractTexture.h index 3d190e76c..d1f468953 100644 --- a/src/AbstractTexture.h +++ b/src/AbstractTexture.h @@ -1108,12 +1108,7 @@ class MAGNUM_EXPORT AbstractTexture { * @requires_es_extension %Extension @es_extension2{EXT,texture_filter_anisotropic,texture_filter_anisotropic} */ inline AbstractTexture* setMaxAnisotropy(GLfloat anisotropy) { - /** @todo Remove `ifndef` when extension header is available */ - #ifndef MAGNUM_TARGET_GLES (this->*parameterfImplementation)(GL_TEXTURE_MAX_ANISOTROPY_EXT, anisotropy); - #else - static_cast(anisotropy); - #endif return this; }