diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/bitmask.cpp | 2 | ||||
-rw-r--r-- | test/json.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/bitmask.cpp b/test/bitmask.cpp index 0fae6a23..ef8f3b1c 100644 --- a/test/bitmask.cpp +++ b/test/bitmask.cpp @@ -23,7 +23,7 @@ static_assert(data_nbytes == 128); void bitmask_test() { - auto img = loader.texture(loader.SCENERY_PATH, "door-close"_s, false); + auto img = loader.texture(loader.SCENERY_PATH, "door-close"_s); auto bitmask = anim_atlas::make_bitmask(img); fm_assert(img.pixelSize() == 4 && (size_t)img.size().product() >= data_nbytes); #ifdef DO_GENERATE diff --git a/test/json.cpp b/test/json.cpp index 3d7a5f0f..ad0cee37 100644 --- a/test/json.cpp +++ b/test/json.cpp @@ -41,7 +41,7 @@ void test_app::test_json() // NOLINT(readability-convert-member-functions-to-sta fm_assert(Path::exists(Path::join(loader.TEMP_PATH, "CMakeCache.txt"))); const auto output_dir = Path::join(loader.TEMP_PATH, "test/."_s); { - auto atlas = loader.ground_atlas("metal1", { 2, 2 }, pass_mode::pass); + auto atlas = loader.get_ground_atlas("metal1", { 2, 2 }, pass_mode::pass); json_helper::to_json(atlas, Path::join(output_dir, "atlas.json")); } { |