ソースを参照

clear target texture to alpha=0 by default

Nicolas Cannasse 10 年 前
コミット
cc4e0f93b6
1 ファイル変更1 行追加1 行削除
  1. 1 1
      h3d/impl/Stage3dDriver.hx

+ 1 - 1
h3d/impl/Stage3dDriver.hx

@@ -663,7 +663,7 @@ class Stage3dDriver extends Driver {
 			// make sure we at least clear the color the first time
 			if( flashVersion >= 15 && !t.flags.has(WasCleared) ) {
 				t.flags.set(WasCleared);
-				ctx.clear(0, 0, 0, 1, 1, 0, flash.display3D.Context3DClearMask.COLOR);
+				ctx.clear(0, 0, 0, 0, 1, 0, flash.display3D.Context3DClearMask.COLOR);
 			}
 		}
 		reset();