diff options
-rw-r--r-- | src/mbgl/renderer/renderer_impl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/renderer/renderer_impl.cpp b/src/mbgl/renderer/renderer_impl.cpp index 61e7d17242..9aca5ab978 100644 --- a/src/mbgl/renderer/renderer_impl.cpp +++ b/src/mbgl/renderer/renderer_impl.cpp @@ -724,10 +724,10 @@ std::vector<Feature> Renderer::Impl::querySourceFeatures(const std::string& sour void Renderer::Impl::onLowMemory() { assert(BackendScope::exists()); - backend.getContext().performCleanup(); for (const auto& entry : renderSources) { entry.second->onLowMemory(); } + backend.getContext().performCleanup(); observer->onInvalidate(); } |