فهرست منبع

RenderContext: Reset pass texture

trethaller 7 سال پیش
والد
کامیت
1d7a13e343
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  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.shaders = null;
 			p.next = null;
 			p.next = null;
 			p.index = 0;
 			p.index = 0;
+			p.texture = 0;
 			p = p.nextAlloc;
 			p = p.nextAlloc;
 		}
 		}
 		pool = firstAlloc;
 		pool = firstAlloc;