From b921d0c95c1840bdd1494c93f4052ef80732dfd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 8 Apr 2014 00:53:18 +0200 Subject: [PATCH] Fix compilation on GCC 4.6. Can't have both constexpr and const. --- src/Magnum/AbstractTexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Magnum/AbstractTexture.cpp b/src/Magnum/AbstractTexture.cpp index 70f053657..81c71fe9c 100644 --- a/src/Magnum/AbstractTexture.cpp +++ b/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); }