Browse Source

Max texture LOD bias _is_ available in OpenGL ES 3.

pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
2ae7bfaf14
  1. 2
      src/Magnum/Implementation/TextureState.cpp
  2. 2
      src/Magnum/Implementation/TextureState.h

2
src/Magnum/Implementation/TextureState.cpp

@ -44,7 +44,7 @@ TextureState::TextureState(Context& context, std::vector<std::string>& extension
maxRectangleSize{}, maxBufferSize{}, maxRectangleSize{}, maxBufferSize{},
#endif #endif
maxTextureUnits(0), maxTextureUnits(0),
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES2
maxLodBias{0.0f}, maxLodBias{0.0f},
#endif #endif
maxMaxAnisotropy(0.0f), currentTextureUnit(0) maxMaxAnisotropy(0.0f), currentTextureUnit(0)

2
src/Magnum/Implementation/TextureState.h

@ -92,7 +92,7 @@ struct TextureState {
maxBufferSize; maxBufferSize;
#endif #endif
GLint maxTextureUnits; GLint maxTextureUnits;
#ifndef MAGNUM_TARGET_GLES #ifndef MAGNUM_TARGET_GLES2
GLfloat maxLodBias; GLfloat maxLodBias;
#endif #endif
GLfloat maxMaxAnisotropy; GLfloat maxMaxAnisotropy;

Loading…
Cancel
Save