Browse Source

Don't use MAGNUM_TARGET_GLES3 where the condition will pass also for ES4.

pull/107/head
Vladimír Vondruš 11 years ago
parent
commit
9192554ecd
  1. 2
      src/Magnum/Implementation/TextureState.cpp

2
src/Magnum/Implementation/TextureState.cpp

@ -265,7 +265,7 @@ TextureState::TextureState(Context& context, std::vector<std::string>& 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;

Loading…
Cancel
Save