Cleanup.
This commit is contained in:
parent
b29ca3cfbb
commit
46b1b1b885
@ -467,9 +467,10 @@ struct DebugDraw
|
|||||||
{
|
{
|
||||||
bgfx::destroyIndexBuffer(m_ibh);
|
bgfx::destroyIndexBuffer(m_ibh);
|
||||||
bgfx::destroyVertexBuffer(m_vbh);
|
bgfx::destroyVertexBuffer(m_vbh);
|
||||||
bgfx::destroyProgram(m_program[0]);
|
for (uint32_t ii = 0; ii < Program::Count; ++ii)
|
||||||
bgfx::destroyProgram(m_program[1]);
|
{
|
||||||
bgfx::destroyProgram(m_program[2]);
|
bgfx::destroyProgram(m_program[ii]);
|
||||||
|
}
|
||||||
bgfx::destroyUniform(u_params);
|
bgfx::destroyUniform(u_params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user