ソースを参照

Fixed resource cleanup.

Dario Manesku 12 年 前
コミット
9ee7d760a7
1 ファイル変更1 行追加0 行削除
  1. 1 0
      examples/13-stencil/stencil.cpp

+ 1 - 0
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);