فهرست منبع

fix shared default texture causing invalid texture contexts

trethaller 5 سال پیش
والد
کامیت
a65705f1e6
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      h3d/pass/PointShadowMap.hx

+ 1 - 1
h3d/pass/PointShadowMap.hx

@@ -136,7 +136,7 @@ class PointShadowMap extends Shadows {
 		return true;
 		return true;
 	}
 	}
 
 
-	static var tmpTex : h3d.mat.Texture;
+	var tmpTex : h3d.mat.Texture;
 	override function createDefaultShadowMap() {
 	override function createDefaultShadowMap() {
 		if( tmpTex != null) return tmpTex;
 		if( tmpTex != null) return tmpTex;
 		tmpTex = new h3d.mat.Texture(1,1, [Target,Cube], format);
 		tmpTex = new h3d.mat.Texture(1,1, [Target,Cube], format);