diff --git a/src/AbstractShaderProgram.h b/src/AbstractShaderProgram.h index c695f1d66..1892d5f16 100644 --- a/src/AbstractShaderProgram.h +++ b/src/AbstractShaderProgram.h @@ -203,13 +203,13 @@ class MAGNUM_EXPORT AbstractShaderProgram { /** * @brief Base struct for attribute location and type * - * See AbstractShaderProgram documentation or Mesh::bindAttribute() + * See @ref AbstractShaderProgram-subclassing or Mesh::bindAttribute() * for an example. * * @todo Support for BGRA attribute type (OpenGL 3.2, @extension{ARB,vertex_array_bgra}) */ - template struct Attribute { - static const size_t Location = i; /**< Location to which the attribute is bound */ + template struct Attribute { + static const GLuint Location = i; /**< Location to which the attribute is bound */ typedef T Type; /**< %Attribute type */ };