From f6a0e340bc82cb5fb96f836686bd59aaffd5db97 Mon Sep 17 00:00:00 2001 From: Andy Belle-Isle Date: Mon, 23 Sep 2019 22:14:13 -0400 Subject: Fixed text rendering --- src/text.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/text.hpp') diff --git a/src/text.hpp b/src/text.hpp index c3479ca..d68613d 100644 --- a/src/text.hpp +++ b/src/text.hpp @@ -18,6 +18,8 @@ * along with this program. If not, see . */ +// hello + #ifndef SYSTEM_TEXT_HPP_ #define SYSTEM_TEXT_HPP_ @@ -61,6 +63,9 @@ struct Font { GLuint tex; GLuint vbo; + float width; + float height; + std::array data; // Stores currently shown text at given index into VBO? std::vector text; -- cgit v1.2.3