aboutsummaryrefslogtreecommitdiff
path: root/include/smttfont.hpp
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-05 23:48:06 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2016-05-05 23:48:06 +0800
commitbda9ef9345786d48fd0d98b0855ce965e1028b2f (patch)
treecdcc7adc9f496c37cbcc75d8cccd2066d02c277b /include/smttfont.hpp
parentc2b99f6321965b2c5b30a1b72b29119281c2d7e1 (diff)
downloadSMELT-bda9ef9345786d48fd0d98b0855ce965e1028b2f.tar.xz
Add support for batching vertices with custom indices.
Fix compiler warnings.
Diffstat (limited to 'include/smttfont.hpp')
-rw-r--r--include/smttfont.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/smttfont.hpp b/include/smttfont.hpp
index 777d8ed..0f87b1c 100644
--- a/include/smttfont.hpp
+++ b/include/smttfont.hpp
@@ -42,7 +42,7 @@ protected:
FT_Library ftlib;
FT_Face ttface;
private:
- wchar_t buf[1024];
+ wchar_t buf[1025];
std::map<wchar_t,smTTChar> chars;
float w,h;
public: