mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-03-28 16:00:01 -04:00
Cleanup.
This commit is contained in:
parent
b29ca3cfbb
commit
46b1b1b885
1 changed files with 4 additions and 3 deletions
|
@ -467,9 +467,10 @@ struct DebugDraw
|
|||
{
|
||||
bgfx::destroyIndexBuffer(m_ibh);
|
||||
bgfx::destroyVertexBuffer(m_vbh);
|
||||
bgfx::destroyProgram(m_program[0]);
|
||||
bgfx::destroyProgram(m_program[1]);
|
||||
bgfx::destroyProgram(m_program[2]);
|
||||
for (uint32_t ii = 0; ii < Program::Count; ++ii)
|
||||
{
|
||||
bgfx::destroyProgram(m_program[ii]);
|
||||
}
|
||||
bgfx::destroyUniform(u_params);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue