mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-26 16:44:00 -05:00
08-update: Fixed debug build.
This commit is contained in:
parent
a34e6e7965
commit
ae7e4deb2f
1 changed files with 4 additions and 1 deletions
|
@ -495,7 +495,10 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||||
bgfx::destroyTexture(textureCube);
|
bgfx::destroyTexture(textureCube);
|
||||||
bgfx::destroyIndexBuffer(ibh);
|
bgfx::destroyIndexBuffer(ibh);
|
||||||
bgfx::destroyVertexBuffer(vbh);
|
bgfx::destroyVertexBuffer(vbh);
|
||||||
|
if (bgfx::isValid(program3d) )
|
||||||
|
{
|
||||||
bgfx::destroyProgram(program3d);
|
bgfx::destroyProgram(program3d);
|
||||||
|
}
|
||||||
bgfx::destroyProgram(programCmp);
|
bgfx::destroyProgram(programCmp);
|
||||||
bgfx::destroyProgram(program);
|
bgfx::destroyProgram(program);
|
||||||
bgfx::destroyUniform(u_time);
|
bgfx::destroyUniform(u_time);
|
||||||
|
|
Loading…
Reference in a new issue