Browse Source

Removed linkage of AbstractShaderProgram::Attribute::Location.

It now doesn't appear in symbol lists, avoiding nasty linker issues.
pull/7/head
Vladimír Vondruš 13 years ago
parent
commit
77d9773d37
  1. 5
      src/AbstractShaderProgram.h

5
src/AbstractShaderProgram.h

@ -320,8 +320,9 @@ class MAGNUM_EXPORT AbstractShaderProgram {
*/
template<GLuint location, class T> 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

Loading…
Cancel
Save