Bläddra i källkod

fix shared default texture causing invalid texture contexts

trethaller 5 år sedan
förälder
incheckning
a65705f1e6
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      h3d/pass/PointShadowMap.hx

+ 1 - 1
h3d/pass/PointShadowMap.hx

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