mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Revert "make sure it's not modifying memory"
This reverts commit bc006dbf08
.
This commit is contained in:
parent
9be2a78356
commit
44039c2b39
|
@ -132,9 +132,7 @@ public:
|
|||
struct STextString
|
||||
{
|
||||
int m_QuadBufferObjectIndex;
|
||||
uint32_t m_DbgShadowBytes = 0x12345678;
|
||||
int m_QuadBufferContainerIndex;
|
||||
uint32_t m_DbgShadowBytes2 = 0x87654321;
|
||||
size_t m_QuadNum;
|
||||
int m_SelectionQuadContainerIndex;
|
||||
|
||||
|
@ -1993,7 +1991,6 @@ public:
|
|||
dbg_msg("textrender", "The text container index was in use by %d ", (int)pTextContainer->m_ContainerIndex.m_UseCount.use_count());
|
||||
HasNonEmptyTextContainer = true; // NOLINT(clang-analyzer-deadcode.DeadStores)
|
||||
}
|
||||
dbg_assert(pTextContainer->m_StringInfo.m_DbgShadowBytes == STextString{}.m_DbgShadowBytes && pTextContainer->m_StringInfo.m_DbgShadowBytes2 == STextString{}.m_DbgShadowBytes2, "shadow bytes were modified in text container.");
|
||||
}
|
||||
|
||||
dbg_assert(!HasNonEmptyTextContainer, "text container was not empty");
|
||||
|
|
Loading…
Reference in a new issue