From f2a6e2cff2af1cfb324a280027da370380abe20b Mon Sep 17 00:00:00 2001 From: Alex Cristici Date: Tue, 24 Jun 2025 18:37:23 +0300 Subject: [PATCH] Fix compilation errors on Benchmark app (#3582) --- platform/ios/benchmark/MBXBenchViewController.mm | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/platform/ios/benchmark/MBXBenchViewController.mm b/platform/ios/benchmark/MBXBenchViewController.mm index 1b901616a..21451a5e6 100644 --- a/platform/ios/benchmark/MBXBenchViewController.mm +++ b/platform/ios/benchmark/MBXBenchViewController.mm @@ -26,14 +26,14 @@ public: BenchMapObserver(id mapDelegate_) : mapDelegate(mapDelegate_) {} virtual ~BenchMapObserver() = default; - void onDidFinishRenderingFrame(RenderFrameStatus status) override final { - //NSLog(@"Frame encoding time: %4.1f ms", status.frameEncodingTime * 1e3); - //NSLog(@"Frame rendering time: %4.1f ms", status.frameRenderingTime * 1e3); + void onDidFinishRenderingFrame(const RenderFrameStatus& status) override final { + //NSLog(@"Frame encoding time: %4.1f ms", status.renderingStats.encodingTime * 1e3); + //NSLog(@"Frame rendering time: %4.1f ms", status.renderingStats.renderingTime * 1e3); bool fullyRendered = status.mode == mbgl::MapObserver::RenderMode::Full; [mapDelegate mapDidFinishRenderingFrameFullyRendered:fullyRendered - frameEncodingTime:status.frameEncodingTime - frameRenderingTime:status.frameRenderingTime]; + frameEncodingTime:status.renderingStats.encodingTime + frameRenderingTime:status.renderingStats.renderingTime]; } protected: