From fac8f7233c375ce4410e2071081cc5aa54f000d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 29 Dec 2013 00:48:41 +0100 Subject: [PATCH] Sampler: remove old ES-specific workaround. It caused Sampler::maxAnisotropy() to return 0.0f on all ES systems. And I thought this was some driver issue. --- src/Sampler.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Sampler.cpp b/src/Sampler.cpp index 7b8d44993..eae511626 100644 --- a/src/Sampler.cpp +++ b/src/Sampler.cpp @@ -52,12 +52,9 @@ Float Sampler::maxAnisotropy() { GLfloat& value = Context::current()->state().texture->maxAnisotropy; - /** @todo Re-enable when extension header is available */ - #ifndef MAGNUM_TARGET_GLES /* Get the value, if not already cached */ if(value == 0.0f) glGetFloatv(GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT, &value); - #endif return value; }