summaryrefslogtreecommitdiffhomepage
path: root/bench/bitmask.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bench/bitmask.cpp')
-rw-r--r--bench/bitmask.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/bench/bitmask.cpp b/bench/bitmask.cpp
index 1156a9f7..861f6ad7 100644
--- a/bench/bitmask.cpp
+++ b/bench/bitmask.cpp
@@ -14,8 +14,9 @@ void Bitmask(benchmark::State& state)
{
auto img = loader.texture(loader.SCENERY_PATH, "door-close"_s);
auto bitmask = anim_atlas::make_bitmask(img);
- anim_atlas::make_bitmask_(img, bitmask);
+ for (int i = 0; i < 3; i++)
+ anim_atlas::make_bitmask_(img, bitmask);
for (auto _ : state)
anim_atlas::make_bitmask_(img, bitmask);
}