mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-16 14:42:44 +00:00
Fix compilation error in shrink_benchmark.cpp
This commit is contained in:
parent
a4ba4c92fd
commit
48d9e4c289
@ -27,7 +27,7 @@ void BM_ShrinkBounds(benchmark::State& state) {
|
|||||||
img->putPixel(w/2, h/2, rgba(1, 2, 3, 4));
|
img->putPixel(w/2, h/2, rgba(1, 2, 3, 4));
|
||||||
gfx::Rect rc;
|
gfx::Rect rc;
|
||||||
while (state.KeepRunning()) {
|
while (state.KeepRunning()) {
|
||||||
doc::algorithm::shrink_bounds(img.get(), rc, 0);
|
doc::algorithm::shrink_bounds(img.get(), 0, nullptr, rc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user