From 9192554ecdfdff6ec651fd7f67a3b5640988e39e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 17 May 2015 11:57:28 +0200 Subject: [PATCH] Don't use MAGNUM_TARGET_GLES3 where the condition will pass also for ES4. --- src/Magnum/Implementation/TextureState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;