Is the font cache too small for the largest glyph?
| 574 | |
| 575 | // Is the font cache too small for the largest glyph? |
| 576 | static bool IsTextureTooSmall(HFontMap font_map) |
| 577 | { |
| 578 | // If the texture is actually too small |
| 579 | return font_map->m_CacheWidth < font_map->m_CacheCellWidth || |
| 580 | font_map->m_CacheHeight < font_map->m_CacheCellHeight; |
| 581 | } |
| 582 | |
| 583 | void UpdateCacheTexture(HFontMap font_map) |
| 584 | { |
no outgoing calls
no test coverage detected