Browse Source

21-deferred: Fixed uniform leak.

Бранимир Караџић 4 years ago
parent
commit
b2d13fc3b8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      examples/21-deferred/deferred.cpp

+ 1 - 0
examples/21-deferred/deferred.cpp

@@ -418,6 +418,7 @@ public:
 		bgfx::destroy(s_depth);
 		bgfx::destroy(s_light);
 
+		bgfx::destroy(u_layer);
 		bgfx::destroy(u_lightPosRadius);
 		bgfx::destroy(u_lightRgbInnerR);
 		bgfx::destroy(u_mtx);