summaryrefslogtreecommitdiff
path: root/src/blucat/texture.hpp
diff options
context:
space:
mode:
authorFrederico Linhares <fred@linhares.blue>2024-12-30 23:25:24 -0300
committerFrederico Linhares <fred@linhares.blue>2024-12-30 23:25:24 -0300
commit083e64da1d4b5b68579288bc1690ca90d3f0a2c0 (patch)
treee2cbf364bc02e76f4a6065e35c3c8a6399389df3 /src/blucat/texture.hpp
parent46c1f83aa6ba6216fb2fe83dac7612224d19b5aa (diff)
refa Using reference arguments for Texture and Sprite
Diffstat (limited to 'src/blucat/texture.hpp')
-rw-r--r--src/blucat/texture.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blucat/texture.hpp b/src/blucat/texture.hpp
index 5d076dc..4bf0350 100644
--- a/src/blucat/texture.hpp
+++ b/src/blucat/texture.hpp
@@ -41,7 +41,7 @@ struct Texture
std::vector<VkDescriptorSet> descriptor_sets;
Texture(Font *font, const char *str);
- Texture(std::string texture_path);
+ Texture(const std::string &texture_path);
Texture(const char* texture_path);
~Texture();
};