diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/text.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/render/text.cc b/src/render/text.cc index cd169b5..bfa1474 100644 --- a/src/render/text.cc +++ b/src/render/text.cc @@ -30,6 +30,8 @@ void Text::init() base_color[5] = new math::Color(0, 1, 1); base_color[6] = new math::Color(1, 0, 1); base_color[7] = new math::Color(1, 1, 1); + base_color[8] = new math::Color(1, 1, 1); + base_color[9] = new math::Color(1, 1, 1); for (size_t i = 0; i < 26; i++) { core_color[i] = new math::Color(.75, .75, .75); @@ -51,7 +53,7 @@ void Text::init() void Text::shutdown() { - for (size_t i = 0; i < 7; i++) { + for (size_t i = 0; i < 10; i++) { delete base_color[i]; base_color[i] = 0; } |