From b61502b69ac0623a5782bd1a6d96d0edeb11695e Mon Sep 17 00:00:00 2001 From: Stefan Schindler Date: Fri, 22 Jan 2016 21:20:56 +0100 Subject: [PATCH] Exporting some Glsl utility functions due to linking issues. (#1044) --- include/SFML/Graphics/Glsl.inl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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); ////////////////////////////////////////////////////////////