diff --git a/include/SFML/Graphics/Glsl.inl b/include/SFML/Graphics/Glsl.inl index 723b6676..bfdff1f1 100644 --- a/include/SFML/Graphics/Glsl.inl +++ b/include/SFML/Graphics/Glsl.inl @@ -27,8 +27,8 @@ /// \brief Helper functions to copy sf::Transform to sf::Glsl::Mat3/4 /// //////////////////////////////////////////////////////////// -void copyMatrix(const Transform& source, Matrix<3, 3>& dest); -void copyMatrix(const Transform& source, Matrix<4, 4>& dest); +void SFML_GRAPHICS_API copyMatrix(const Transform& source, Matrix<3, 3>& dest); +void SFML_GRAPHICS_API copyMatrix(const Transform& source, Matrix<4, 4>& dest); //////////////////////////////////////////////////////////// /// \brief Copy array-based matrix with given number of elements @@ -37,14 +37,14 @@ void copyMatrix(const Transform& source, Matrix<4, 4>& dest); /// and MSVC's annoying 4996 warning in header /// //////////////////////////////////////////////////////////// -void copyMatrix(const float* source, std::size_t elements, float* dest); +void SFML_GRAPHICS_API copyMatrix(const float* source, std::size_t elements, float* dest); //////////////////////////////////////////////////////////// /// \brief Helper functions to copy sf::Color to sf::Glsl::Vec4/Ivec4 /// //////////////////////////////////////////////////////////// -void copyVector(const Color& source, Vector4& dest); -void copyVector(const Color& source, Vector4& dest); +void SFML_GRAPHICS_API copyVector(const Color& source, Vector4& dest); +void SFML_GRAPHICS_API copyVector(const Color& source, Vector4& dest); ////////////////////////////////////////////////////////////