Skip to content

Commit

Permalink
Fixed an error in Text.cpp and fixed FONT in VisualTaskQueue.cpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanVreeke committed Jul 19, 2021
1 parent 59c1381 commit 53c3f44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TSGL/Text.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<wchar_t, Character>(wideChar[i], character));
Expand All @@ -269,4 +269,4 @@ Text::~Text() {



}
}
1 change: 1 addition & 0 deletions src/TSGL/VisualTaskQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#include <omp.h>

#include "Canvas.h"
#include "tsgl.h"

namespace tsgl {

Expand Down

0 comments on commit 53c3f44

Please sign in to comment.