fix merge

This commit is contained in:
arthur.jamet
2021-05-21 12:41:49 +02:00
3 changed files with 8 additions and 2 deletions
+6
View File
@@ -48,4 +48,10 @@ Image RAY::Texture::toImage(void) const
const ::Texture &RAY::Texture::getTexture(void) const
{
return this->_texture;
}
bool RAY::Texture::unload()
{
UnloadTexture(this->_texture);
return true;
}
+1 -1
View File
@@ -35,7 +35,7 @@ namespace RAY
Texture &operator=(const Texture &) = default;
//! @brief Texture destructor, will unload ressources
~Texture();
~Texture() override;
//! @brief load ressources from file
//! @param filename: path of input
+1 -1
View File
@@ -96,7 +96,7 @@ namespace RAY {
//! @brief draw rectangle
//! @param drawable The drawable to render on screen
void draw(Drawables::IDrawable &drawable);
void draw(Drawables::IDrawable &drawable) override;
//! @brief draw texture at position
//! @param texture The object to render