Closed adambiser closed 3 years ago
https://www.appgamekit.com/documentation/Reference/Memblock/CreateMemblock.htm says: "The contents of the memory is undefined until you write to it." But the code at https://raw.githubusercontent.com/TheGameCreators/AGKTier2/master/common/Source/Wrapper.cpp does: for ( UINT i = 0; i < size; i++ ) pMem->m_pData[ i ] = 0; which zeroes out the memblock data, right?
for ( UINT i = 0; i < size; i++ ) pMem->m_pData[ i ] = 0;
I have updated the documentation.
https://www.appgamekit.com/documentation/Reference/Memblock/CreateMemblock.htm says: "The contents of the memory is undefined until you write to it." But the code at https://raw.githubusercontent.com/TheGameCreators/AGKTier2/master/common/Source/Wrapper.cpp does:
for ( UINT i = 0; i < size; i++ ) pMem->m_pData[ i ] = 0;
which zeroes out the memblock data, right?