Fixed resource cleanup.

This commit is contained in:
Dario Manesku 2013-11-06 02:05:34 +01:00
parent fd764ec261
commit 9ee7d760a7

View file

@ -409,6 +409,7 @@ struct Uniforms
bgfx::destroyUniform(u_ambient); bgfx::destroyUniform(u_ambient);
bgfx::destroyUniform(u_diffuse); bgfx::destroyUniform(u_diffuse);
bgfx::destroyUniform(u_specular_shininess); bgfx::destroyUniform(u_specular_shininess);
bgfx::destroyUniform(u_color);
bgfx::destroyUniform(u_time); bgfx::destroyUniform(u_time);
bgfx::destroyUniform(u_lightPosRadius); bgfx::destroyUniform(u_lightPosRadius);
bgfx::destroyUniform(u_lightRgbInnerR); bgfx::destroyUniform(u_lightRgbInnerR);