diff options
Diffstat (limited to 'src/render/text.cc')
-rw-r--r-- | src/render/text.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/render/text.cc b/src/render/text.cc index c64e331..127605b 100644 --- a/src/render/text.cc +++ b/src/render/text.cc @@ -80,7 +80,10 @@ void Text::setcolor(const char color) void Text::setfont(const char *texture, float width, float height) { - Textures::bind(texture, false); + std::string tf("bitmaps/fonts/"); + tf.append(texture); + + Textures::bind(tf, false); text_fontwidth = width; text_fontheight = height; |