Skip to content

Commit

Permalink
Update to the latest version of MapLibre Core
Browse files Browse the repository at this point in the history
  • Loading branch information
ntadej committed Oct 31, 2023
1 parent 397242e commit c0d0c60
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/map.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

#include <mbgl/actor/scheduler.hpp>
#include <mbgl/annotation/annotation.hpp>
#include <mbgl/gl/custom_layer.hpp>
#include <mbgl/map/camera.hpp>
#include <mbgl/map/map.hpp>
#include <mbgl/map/map_options.hpp>
Expand All @@ -33,6 +32,7 @@
#include <mbgl/style/image.hpp>
#include <mbgl/style/layers/background_layer.hpp>
#include <mbgl/style/layers/circle_layer.hpp>
#include <mbgl/style/layers/custom_layer.hpp>
#include <mbgl/style/layers/fill_extrusion_layer.hpp>
#include <mbgl/style/layers/fill_layer.hpp>
#include <mbgl/style/layers/line_layer.hpp>
Expand Down
6 changes: 4 additions & 2 deletions src/core/renderer_observer_p.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ class RendererObserver : public mbgl::RendererObserver {

void onWillStartRenderingFrame() final { delegate.invoke(&mbgl::RendererObserver::onWillStartRenderingFrame); }

void onDidFinishRenderingFrame(RenderMode mode, bool repaintNeeded, bool placementChanged) final {
delegate.invoke(&mbgl::RendererObserver::onDidFinishRenderingFrame, mode, repaintNeeded, placementChanged);
void onDidFinishRenderingFrame(RenderMode mode, bool repaintNeeded, bool placementChanged, double frameTime) final {
void (mbgl::RendererObserver::*f)(
RenderMode, bool, bool, double) = &mbgl::RendererObserver::onDidFinishRenderingFrame;
delegate.invoke(f, mode, repaintNeeded, placementChanged, frameTime);
}

void onDidFinishRenderingMap() final { delegate.invoke(&mbgl::RendererObserver::onDidFinishRenderingMap); }
Expand Down
2 changes: 1 addition & 1 deletion vendor/maplibre-native
Submodule maplibre-native updated 2753 files

0 comments on commit c0d0c60

Please sign in to comment.