API change: Simplified destroy functions to use overload resolution.

This commit is contained in:
Branimir Karadžić
2017-07-17 22:29:43 -07:00
parent a247d29298
commit 7c9b2b7257
38 changed files with 407 additions and 407 deletions

View File

@@ -158,9 +158,9 @@ public:
{
// Cleanup.
imguiDestroy();
bgfx::destroyIndexBuffer(m_ibh);
bgfx::destroyVertexBuffer(m_vbh);
bgfx::destroyProgram(m_program);
bgfx::destroy(m_ibh);
bgfx::destroy(m_vbh);
bgfx::destroy(m_program);
// Shutdown bgfx.
bgfx::shutdown();