Fixed leak.

This commit is contained in:
Branimir Karadžić 2016-10-18 21:01:11 -07:00
parent 752f3deee7
commit dc5a3e6e6c

View File

@ -385,6 +385,7 @@ int _main_(int _argc, char** _argv)
bgfx::destroyUniform(u_shadowMap); bgfx::destroyUniform(u_shadowMap);
bgfx::destroyUniform(u_lightPos); bgfx::destroyUniform(u_lightPos);
bgfx::destroyUniform(u_lightMtx); bgfx::destroyUniform(u_lightMtx);
bgfx::destroyUniform(u_depthScaleOffset);
// Shutdown bgfx. // Shutdown bgfx.
bgfx::shutdown(); bgfx::shutdown();