From fabc51ca2fbaf633f7c1cba5923498fc6c15f21c Mon Sep 17 00:00:00 2001 From: "arthur.jamet" Date: Tue, 1 Jun 2021 14:07:34 +0200 Subject: [PATCH] fix ressources path of image --- lib/Ray/sources/Drawables/Texture.cpp | 2 +- lib/Ray/sources/Drawables/Texture.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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