commit 71e3ec2eefa0b59138c41eea381a28e536773713 parent e1661b39b8bcb7e43e9e65b4dec5c9c91eb347d4 Author: Michael Savage <mikejsavage@gmail.com> Date: Tue May 9 21:50:18 +0300 Oops Diffstat:
pp.cc | | | 4 | ++-- |
diff --git a/pp.cc b/pp.cc @@ -146,7 +146,7 @@ static void write_tile( } ggprint( "writing {}_{}{}... ", tx, ty, extension.c_str() ); - write_compressed_file( arena, tile.ptr(), tile.num_bytes(), + write_compressed_file( tile.ptr(), tile.num_bytes(), "{}/{}_{}{}", dir.c_str(), tx, ty, extension.c_str() ); } @@ -182,7 +182,7 @@ static void write_tile_quadtree( HeightmapQuadTree qt = heightmap_build_quadtree( &hm, nodes ); ggprint( "writing {}_{}_quadtree.lz4... ", tx, ty ); - write_compressed_file( arena, qt.nodes.ptr(), qt.nodes.num_bytes(), + write_compressed_file( qt.nodes.ptr(), qt.nodes.num_bytes(), "{}/{}_{}_quadtree.lz4", dir.c_str(), tx, ty ); }