diff --git a/src/Magnum/Implementation/TextureState.cpp b/src/Magnum/Implementation/TextureState.cpp index 6be17e387..f339d2242 100644 --- a/src/Magnum/Implementation/TextureState.cpp +++ b/src/Magnum/Implementation/TextureState.cpp @@ -265,7 +265,7 @@ TextureState::TextureState(Context& context, std::vector& extension storage3DImplementation = &AbstractTexture::storageImplementationDefault; } } - #ifndef MAGNUM_TARGET_GLES3 + #if !defined(MAGNUM_TARGET_GLES) || defined(MAGNUM_TARGET_GLES2) else { #ifndef MAGNUM_TARGET_GLES storage1DImplementation = &AbstractTexture::storageImplementationFallback;