diff --git a/lib/Ray/sources/Drawables/Texture.cpp b/lib/Ray/sources/Drawables/Texture.cpp index b4ecc1a1..b2691a23 100644 --- a/lib/Ray/sources/Drawables/Texture.cpp +++ b/lib/Ray/sources/Drawables/Texture.cpp @@ -23,7 +23,7 @@ namespace RAY { Texture::Texture(const Image &image): _texture(LoadTextureFromImage(image)), - _resourcePath("IMAGE") + _resourcePath() { } diff --git a/lib/Ray/sources/Drawables/Texture.hpp b/lib/Ray/sources/Drawables/Texture.hpp index 5aadfc63..e087275d 100644 --- a/lib/Ray/sources/Drawables/Texture.hpp +++ b/lib/Ray/sources/Drawables/Texture.hpp @@ -20,7 +20,7 @@ namespace RAY //! @param filename: path to file to load Texture(const std::string &filename); - //! @brief A texture is not constructable + //! @brief A texture is copy constructable Texture(const Texture &); //! @brief A textrue can be loaded from an image