mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -1643,9 +1643,10 @@ namespace bgfx
|
||||
m_startIndex = 0;
|
||||
m_numIndices = UINT32_MAX;
|
||||
m_indexBuffer.idx = kInvalidHandle;
|
||||
m_submitFlags = 0;
|
||||
} else {
|
||||
// if index buffer retained track its size in submit flags.
|
||||
m_submitFlags = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
m_submitFlags = isIndex16() ? 0 : BGFX_SUBMIT_INTERNAL_INDEX32;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user