08-update: Fixed debug build.

This commit is contained in:
Branimir Karadžić 2015-03-29 18:18:06 -07:00
parent a34e6e7965
commit ae7e4deb2f

View file

@ -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);