Fixed leak.
This commit is contained in:
parent
752f3deee7
commit
dc5a3e6e6c
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user