| 46 | using namespace dmVMath; |
| 47 | |
| 48 | static void ReleaseTextEntries(TextContext& text_context) |
| 49 | { |
| 50 | uint32_t entry_count = text_context.m_TextEntries.Size(); |
| 51 | for (uint32_t i = 0; i < entry_count; ++i) |
| 52 | { |
| 53 | HTextLayout text_layout = text_context.m_TextEntries[i].m_TextLayout; |
| 54 | if (text_layout) |
| 55 | { |
| 56 | TextLayoutRelease(text_layout); |
| 57 | } |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | void InitializeTextContext(HRenderContext render_context, uint32_t max_characters, uint32_t max_batches) |
| 62 | { |
no test coverage detected