Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

wrong comments #34

Open
manmanhuahua opened this issue May 26, 2017 · 1 comment
Open

wrong comments #34

manmanhuahua opened this issue May 26, 2017 · 1 comment

Comments

@manmanhuahua
Copy link

In file "q3Memory"
I think the right comment should be "Remove the prevBlock from the freeBlocks array"

// Remove the nextBlock from the freeBlocks array
assert( m_freeBlockCount );
assert( prevBlockIndex != ~0 );
--m_freeBlockCount;
m_freeBlocks[ prevBlockIndex ] = m_freeBlocks[ m_freeBlockCount ];

@RandyGaul
Copy link
Owner

Thanks! I believe you're right :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants