Procházet zdrojové kódy

Do not bound depth during Copy pass.

TothBenoit před 6 měsíci
rodič
revize
c6167ba16e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);