| 2312 | } |
| 2313 | |
| 2314 | void OnPreWindowResize() override |
| 2315 | { |
| 2316 | for(auto *pTextContainer : m_vpTextContainers) |
| 2317 | { |
| 2318 | if(pTextContainer->m_ContainerIndex.Valid() && pTextContainer->m_ContainerIndex.m_UseCount.use_count() <= 1) |
| 2319 | { |
| 2320 | log_error("textrender", "Found non empty text container with index %d with %" PRIzu " quads '%s'", pTextContainer->m_StringInfo.m_QuadBufferContainerIndex, pTextContainer->m_StringInfo.m_vCharacterQuads.size(), pTextContainer->m_aDebugText); |
| 2321 | dbg_assert_failed("Text container was forgotten by the implementation (the index was overwritten)."); |
| 2322 | } |
| 2323 | } |
| 2324 | } |
| 2325 | |
| 2326 | void OnWindowResize() override |
| 2327 | { |