Nicolas Cannasse 3 tháng trước cách đây
mục cha
commit
24d1efc5df
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      h2d/ObjectFollower.hx

+ 1 - 1
h2d/ObjectFollower.hx

@@ -181,7 +181,7 @@ class ObjectFollower extends Object {
 			}
 		}
 
-		if( !depthMask ) {
+		if( !depthMask ) @:privateAccess {
 			var prev = ctx.baseShader.zValue;
 			ctx.baseShader.zValue = zValue;
 			super.drawRec(ctx);