diff --git a/src/Magnum/Shaders/DistanceFieldVectorGL.cpp b/src/Magnum/Shaders/DistanceFieldVectorGL.cpp index 19c50301f..32c8e8795 100644 --- a/src/Magnum/Shaders/DistanceFieldVectorGL.cpp +++ b/src/Magnum/Shaders/DistanceFieldVectorGL.cpp @@ -145,8 +145,8 @@ template DistanceFieldVectorGL& DistanceFiel return *this; } -template class DistanceFieldVectorGL<2>; -template class DistanceFieldVectorGL<3>; +template class MAGNUM_SHADERS_EXPORT DistanceFieldVectorGL<2>; +template class MAGNUM_SHADERS_EXPORT DistanceFieldVectorGL<3>; namespace Implementation { diff --git a/src/Magnum/Shaders/FlatGL.cpp b/src/Magnum/Shaders/FlatGL.cpp index 3d9b1c79e..2501bf049 100644 --- a/src/Magnum/Shaders/FlatGL.cpp +++ b/src/Magnum/Shaders/FlatGL.cpp @@ -191,8 +191,8 @@ template FlatGL& FlatGL::setObje } #endif -template class FlatGL<2>; -template class FlatGL<3>; +template class MAGNUM_SHADERS_EXPORT FlatGL<2>; +template class MAGNUM_SHADERS_EXPORT FlatGL<3>; namespace Implementation { diff --git a/src/Magnum/Shaders/VectorGL.cpp b/src/Magnum/Shaders/VectorGL.cpp index 6e3a3fb68..d29cf4a1f 100644 --- a/src/Magnum/Shaders/VectorGL.cpp +++ b/src/Magnum/Shaders/VectorGL.cpp @@ -130,8 +130,8 @@ template VectorGL& VectorGL::set return *this; } -template class VectorGL<2>; -template class VectorGL<3>; +template class MAGNUM_SHADERS_EXPORT VectorGL<2>; +template class MAGNUM_SHADERS_EXPORT VectorGL<3>; namespace Implementation { diff --git a/src/Magnum/Shaders/VertexColorGL.cpp b/src/Magnum/Shaders/VertexColorGL.cpp index a767d74b4..311ae603d 100644 --- a/src/Magnum/Shaders/VertexColorGL.cpp +++ b/src/Magnum/Shaders/VertexColorGL.cpp @@ -97,7 +97,7 @@ template VertexColorGL& VertexColorGL; -template class VertexColorGL<3>; +template class MAGNUM_SHADERS_EXPORT VertexColorGL<2>; +template class MAGNUM_SHADERS_EXPORT VertexColorGL<3>; }}