From 7068f9cf6298c46bd6d84b93173e44ca283492b8 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 15 May 2021 13:58:18 +0200 Subject: Use std::array to auto copy array in text --- include/Text.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 vertices; //sf::VertexBuffer vertex_buffers[3]; float maxWidth; sf::Vector2f position; -- cgit v1.2.3