Browse Source

Do not bound depth during Copy pass.

TothBenoit 6 tháng trước cách đây
mục cha
commit
c6167ba16e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      h3d/pass/Copy.hx

+ 1 - 1
h3d/pass/Copy.hx

@@ -86,7 +86,7 @@ class Copy extends ScreenFx<CopyShader> {
 
 	public function apply( from, to, ?blend : h3d.mat.BlendMode, ?customPass : h3d.mat.Pass, ?layer :Int) {
 		if( to != null )
-			engine.pushTarget(to, layer != null ? layer : 0);
+			engine.pushTarget(to, layer != null ? layer : 0, NotBound);
 		shader.texture = from;
 		if( customPass != null ) {
 			if( blend != null ) customPass.setBlendMode(blend);