diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-05-15 13:58:18 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-05-15 13:58:18 +0200 |
commit | 7068f9cf6298c46bd6d84b93173e44ca283492b8 (patch) | |
tree | c2746c5a127fa5ed20454d96e0009ca65226f91f /include | |
parent | 81c2facbe1dc3212de95eafc62bfabdd24de696b (diff) |
Use std::array to auto copy array in text
Diffstat (limited to 'include')
-rw-r--r-- | include/Text.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/Text.hpp b/include/Text.hpp index cef6dd5..fbd850a 100644 --- a/include/Text.hpp +++ b/include/Text.hpp @@ -146,7 +146,7 @@ namespace QuickMedia // 1: Normal text // 2: CJK // 3: Emoji - sf::VertexArray vertices[3]; + std::array<sf::VertexArray, 3> vertices; //sf::VertexBuffer vertex_buffers[3]; float maxWidth; sf::Vector2f position; |