[core] change std::array<uint16_t, 2> to mbgl::Size
This commit is contained in:
@@ -34,10 +34,10 @@ public:
|
||||
|
||||
util::RunLoop loop;
|
||||
HeadlessBackend backend;
|
||||
OffscreenView view{ backend.getContext(), {{ 1000, 1000 }} };
|
||||
OffscreenView view{ backend.getContext(), { 1000, 1000 } };
|
||||
DefaultFileSource fileSource{ "benchmark/fixtures/api/cache.db", "." };
|
||||
ThreadPool threadPool{ 4 };
|
||||
Map map{ backend, view.getSize(), 1, fileSource, threadPool, MapMode::Still };
|
||||
Map map{ backend, view.size, 1, fileSource, threadPool, MapMode::Still };
|
||||
ScreenBox box{{ 0, 0 }, { 1000, 1000 }};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user