commit eaeeb469b8482835236fe934f9ffe496ad394f91 parent 1285f0e12bd339c487e45c6f37f1ab1361742195 Author: Michael Savage <mikejsavage@gmail.com> Date: Sun Nov 13 22:16:57 +0200 Oops Diffstat:
pp.cc | | | 6 | +++--- |
diff --git a/pp.cc b/pp.cc @@ -141,15 +141,15 @@ static void write_tile( } printf( "writing heightmap for (%d, %d)\n", tx, ty ); - write_compressed_file( tile_heightmap.ptr(), tile_heightmap.bytes, + write_compressed_file( tile_heightmap.ptr(), tile_heightmap.bytes(), "%s/%d_%d_heightmap.lz4", dir.c_str(), tx, ty ); printf( "writing horizons for (%d, %d)\n", tx, ty ); - write_compressed_file( tile_horizons.ptr(), tile_horizons.bytes, + write_compressed_file( tile_horizons.ptr(), tile_horizons.bytes(), "%s/%d_%d_horizons.lz4", dir.c_str(), tx, ty ); printf( "writing normals for (%d, %d)\n", tx, ty ); - write_compressed_file( tile_normals.ptr(), tile_normals.bytes, + write_compressed_file( tile_normals.ptr(), tile_normals.bytes(), "%s/%d_%d_normals.lz4", dir.c_str(), tx, ty ); }