Browse Source

Fix compilation on GCC 4.6.

Can't have both constexpr and const.
pull/51/head
Vladimír Vondruš 12 years ago
parent
commit
b921d0c95c
  1. 2
      src/Magnum/AbstractTexture.cpp

2
src/Magnum/AbstractTexture.cpp

@ -115,7 +115,7 @@ void AbstractTexture::unbindImplementationDefault(const GLint textureUnit) {
#ifndef MAGNUM_TARGET_GLES
void AbstractTexture::unbindImplementationMulti(const GLint textureUnit) {
constexpr static const GLuint zero = 0;
constexpr static GLuint zero = 0;
glBindTextures(textureUnit, 1, &zero);
}

Loading…
Cancel
Save