From ff06d88a2477b704ee6faa7b6cb2fecb0ab99e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 13 Feb 2013 00:54:46 +0100 Subject: [PATCH] Extension header for OpenGL ES is available now. ES3 will need to be handled differently, not bothering with that for now. --- src/AbstractTexture.h | 5 ----- 1 file changed, 5 deletions(-) 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; }