Browse Source

Fix linker errors on MSVC.

And probably also on MinGW.
pull/54/head
Vladimír Vondruš 12 years ago
parent
commit
2356802831
  1. 4
      src/Magnum/MultisampleTexture.h
  2. 2
      src/Magnum/Texture.h

4
src/Magnum/MultisampleTexture.h

@ -44,8 +44,8 @@ namespace Implementation {
template<> inline constexpr GLenum multisampleTextureTarget<3>() { return GL_TEXTURE_2D_MULTISAMPLE_ARRAY; }
template<UnsignedInt dimensions> typename DimensionTraits<dimensions, Int>::VectorType maxMultisampleTextureSize();
template<> Vector2i maxMultisampleTextureSize<2>();
template<> Vector3i maxMultisampleTextureSize<3>();
template<> MAGNUM_EXPORT Vector2i maxMultisampleTextureSize<2>();
template<> MAGNUM_EXPORT Vector3i maxMultisampleTextureSize<3>();
}
/**

2
src/Magnum/Texture.h

@ -53,7 +53,7 @@ namespace Implementation {
}
template<UnsignedInt dimensions> typename DimensionTraits<dimensions, Int>::VectorType maxTextureSize();
template<> Vector3i maxTextureSize<3>();
template<> MAGNUM_EXPORT Vector3i maxTextureSize<3>();
}
/**

Loading…
Cancel
Save