Browse Source

GlyphCache::initialize() : fix Default glyph insertion

pull/297/head
Pascal Thomet 8 years ago
parent
commit
6696d696af
  1. 2
      src/Magnum/Text/GlyphCache.cpp

2
src/Magnum/Text/GlyphCache.cpp

@ -65,7 +65,7 @@ void GlyphCache::initialize(const GL::TextureFormat internalFormat, const Vector
.setStorage(1, internalFormat, size);
/* Default "Not Found" glyph */
glyphs.insert({0, {}});
glyphs.insert({0, {{}, {}} });
}
std::vector<Range2Di> GlyphCache::reserve(const std::vector<Vector2i>& sizes) {

Loading…
Cancel
Save