Forráskód Böngészése

RenderContext: Reset pass texture

trethaller 7 éve
szülő
commit
1d7a13e343
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      h3d/scene/RenderContext.hx

+ 1 - 0
h3d/scene/RenderContext.hx

@@ -126,6 +126,7 @@ class RenderContext extends h3d.impl.RenderContext {
 			p.shaders = null;
 			p.next = null;
 			p.index = 0;
+			p.texture = 0;
 			p = p.nextAlloc;
 		}
 		pool = firstAlloc;