diff options
Diffstat (limited to 'benchmark/src/mbgl/benchmark/util.cpp')
-rw-r--r-- | benchmark/src/mbgl/benchmark/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/src/mbgl/benchmark/util.cpp b/benchmark/src/mbgl/benchmark/util.cpp index 39c5f86883..0befd7c3e8 100644 --- a/benchmark/src/mbgl/benchmark/util.cpp +++ b/benchmark/src/mbgl/benchmark/util.cpp @@ -15,7 +15,7 @@ void render(Map& map, OffscreenView& view) { result = view.readStillImage(); }); - while (!result.size()) { + while (!result.valid()) { util::RunLoop::Get()->runOnce(); } } |