diff --git a/src/TSGL/Text.cpp b/src/TSGL/Text.cpp index d2fd5ffd..5b74066a 100644 --- a/src/TSGL/Text.cpp +++ b/src/TSGL/Text.cpp @@ -244,7 +244,7 @@ void Text::populateCharacters() { Character character = { ftbmps[i], glm::ivec2(glyph->bitmap_left, glyph->bitmap_top), - glyph->advance.x + (unsigned int)glyph->advance.x }; Characters.insert(std::pair(wideChar[i], character)); @@ -269,4 +269,4 @@ Text::~Text() { -} \ No newline at end of file +} diff --git a/src/TSGL/VisualTaskQueue.h b/src/TSGL/VisualTaskQueue.h index 601243cf..753ee492 100644 --- a/src/TSGL/VisualTaskQueue.h +++ b/src/TSGL/VisualTaskQueue.h @@ -9,6 +9,7 @@ #include #include "Canvas.h" +#include "tsgl.h" namespace tsgl {