mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 04:53:06 +01:00
Fixed texture leak.
This commit is contained in:
@@ -269,6 +269,10 @@ class HDR : public entry::AppI
|
||||
bgfx::destroyProgram(m_blurProgram);
|
||||
bgfx::destroyProgram(m_brightProgram);
|
||||
bgfx::destroyTexture(m_uffizi);
|
||||
if (bgfx::isValid(m_rb) )
|
||||
{
|
||||
bgfx::destroyTexture(m_rb);
|
||||
}
|
||||
|
||||
bgfx::destroyUniform(s_texCube);
|
||||
bgfx::destroyUniform(s_texColor);
|
||||
|
||||
Reference in New Issue
Block a user