Skip to content

Commit

Permalink
WebGLNameMappedObject string for specialization should have external …
Browse files Browse the repository at this point in the history
…linkage.
  • Loading branch information
deanm committed Jul 18, 2014
1 parent 3b0e333 commit 82509b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plask_bindings.mm
Expand Up @@ -275,7 +275,7 @@ static GLuint ExtractNameFromValue(


#define DEFINE_NAME_MAPPED_CLASS(name) \
static const char name##ClassNameString[] = #name; \
extern const char name##ClassNameString[] = #name; \
typedef WebGLNameMappedObject<name##ClassNameString> name; \
template <> \
name::MapType name::map = name::MapType();
Expand Down

0 comments on commit 82509b9

Please sign in to comment.