소스 검색

bugfix wrt haxe 4.0 git

Nicolas Cannasse 7 년 전
부모
커밋
544c20fe55
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      h2d/Sprite.hx

+ 1 - 1
h2d/Sprite.hx

@@ -433,7 +433,7 @@ class Sprite {
 
 	function emitTile( ctx : RenderContext, tile : h2d.Tile ) {
 		if( nullDrawable == null )
-			nullDrawable = new h2d.Drawable(null);
+			nullDrawable = @:privateAccess new h2d.Drawable(null);
 		if( !ctx.hasBuffering() ) {
 			nullDrawable.absX = absX;
 			nullDrawable.absY = absY;