From 6cc57246a559e51772cceb13fe3a68ff61840822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 24 Feb 2021 22:05:06 +0100 Subject: [PATCH] GL: whoops. Broken since 0ceb54ed7df24ec1a79727397d3afe5cfd94142e, but the two code paths actually differ only by an enum name so it didn't cause any crashes. (I wonder why I need two different code paths at all.) --- src/Magnum/GL/Implementation/TextureState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/GL/Implementation/TextureState.cpp b/src/Magnum/GL/Implementation/TextureState.cpp index aca81d760..9e6e08659 100644 --- a/src/Magnum/GL/Implementation/TextureState.cpp +++ b/src/Magnum/GL/Implementation/TextureState.cpp @@ -428,7 +428,7 @@ TextureState::TextureState(Context& context, Containers::StaticArrayView()) { + if(context.isExtensionSupported()) { extensions[Extensions::ARB::texture_filter_anisotropic::Index] = Extensions::ARB::texture_filter_anisotropic::string();