Browse Source

GL: whoops.

Broken since 0ceb54ed7d, 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.)
euler-xxx
Vladimír Vondruš 5 years ago
parent
commit
6cc57246a5
  1. 2
      src/Magnum/GL/Implementation/TextureState.cpp

2
src/Magnum/GL/Implementation/TextureState.cpp

@ -428,7 +428,7 @@ TextureState::TextureState(Context& context, Containers::StaticArrayView<Impleme
/* Anisotropic filter implementation */
#ifndef MAGNUM_TARGET_GLES
if(context.isExtensionSupported<Extensions::EXT::texture_filter_anisotropic>()) {
if(context.isExtensionSupported<Extensions::ARB::texture_filter_anisotropic>()) {
extensions[Extensions::ARB::texture_filter_anisotropic::Index] =
Extensions::ARB::texture_filter_anisotropic::string();

Loading…
Cancel
Save