From 9ee7d760a774329e664e739549d25e22e32bce4b Mon Sep 17 00:00:00 2001 From: Dario Manesku Date: Wed, 6 Nov 2013 02:05:34 +0100 Subject: [PATCH] Fixed resource cleanup. --- examples/13-stencil/stencil.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/13-stencil/stencil.cpp b/examples/13-stencil/stencil.cpp index 0b5a3938..f11b93c4 100644 --- a/examples/13-stencil/stencil.cpp +++ b/examples/13-stencil/stencil.cpp @@ -409,6 +409,7 @@ struct Uniforms bgfx::destroyUniform(u_ambient); bgfx::destroyUniform(u_diffuse); bgfx::destroyUniform(u_specular_shininess); + bgfx::destroyUniform(u_color); bgfx::destroyUniform(u_time); bgfx::destroyUniform(u_lightPosRadius); bgfx::destroyUniform(u_lightRgbInnerR);