mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
API change: Simplified destroy functions to use overload resolution.
This commit is contained in:
@@ -149,10 +149,10 @@ public:
|
||||
imguiDestroy();
|
||||
|
||||
// Cleanup.
|
||||
bgfx::destroyProgram(m_program);
|
||||
bgfx::destroy(m_program);
|
||||
|
||||
bgfx::destroyUniform(u_mtx);
|
||||
bgfx::destroyUniform(u_lightDirTime);
|
||||
bgfx::destroy(u_mtx);
|
||||
bgfx::destroy(u_lightDirTime);
|
||||
|
||||
// Shutdown bgfx.
|
||||
bgfx::shutdown();
|
||||
|
||||
Reference in New Issue
Block a user