فهرست منبع

fixed normal map leak

ncannasse 7 سال پیش
والد
کامیت
9a736062be
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      h3d/scene/World.hx

+ 2 - 0
h3d/scene/World.hx

@@ -524,6 +524,8 @@ class World extends Object {
 			b.diffuse.dispose();
 			if(b.spec != null)
 				b.spec.dispose();
+			if(b.normal != null)
+				b.normal.dispose();
 		}
 		bigTextures = [];
 		textures = new Map();