diff options
author | Frederico Linhares <fred@linhares.blue> | 2024-12-30 23:25:24 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2024-12-30 23:25:24 -0300 |
commit | 083e64da1d4b5b68579288bc1690ca90d3f0a2c0 (patch) | |
tree | e2cbf364bc02e76f4a6065e35c3c8a6399389df3 /src/blucat/texture.hpp | |
parent | 46c1f83aa6ba6216fb2fe83dac7612224d19b5aa (diff) |
refa Using reference arguments for Texture and Sprite
Diffstat (limited to 'src/blucat/texture.hpp')
-rw-r--r-- | src/blucat/texture.hpp | 2 |
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(); }; |