Nicolas Cannasse 3 months ago
parent
commit
24d1efc5df
1 changed files with 1 additions and 1 deletions
  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);