diff --git a/src/AbstractShaderProgram.h b/src/AbstractShaderProgram.h index 3fd055743..cf2abb445 100644 --- a/src/AbstractShaderProgram.h +++ b/src/AbstractShaderProgram.h @@ -320,8 +320,9 @@ class MAGNUM_EXPORT AbstractShaderProgram { */ template class Attribute { public: - /** @brief Location to which the attribute is bound */ - static const GLuint Location = location; + enum: GLuint { + Location = location /**< Location to which the attribute is bound */ + }; /** * @brief Type