Преглед на файлове

Update to latest master and fix allocTileTarget

Yanrishatum преди 6 години
родител
ревизия
d7c8050056
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      h3d/impl/TextureCache.hx

+ 2 - 2
h3d/impl/TextureCache.hx

@@ -61,8 +61,8 @@ class TextureCache {
 		return allocTarget(name, Math.ceil(e.width * scale), Math.ceil(e.height * scale), defaultDepth, format);
 	}
 
-	public function allocTileTarget( name : String, tile : h2d.Tile, defaultDepth=false, ?format:hxd.PixelFormat, ?flags:Array<h3d.mat.Data.TextureFlags> ) {
-		return allocTarget( name, tile.iwidth, tile.iheight, defaultDepth, format, flags );
+	public function allocTileTarget( name : String, tile : h2d.Tile, defaultDepth=false, ?format:hxd.PixelFormat ) {
+		return allocTarget( name, tile.iwidth, tile.iheight, defaultDepth, format );
 	}
 
 	public function dispose() {