Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[core] Put gfx backend scope guard to Renderer::reduceMemoryUse()
Browse files Browse the repository at this point in the history
  • Loading branch information
pozdnyakov committed Jul 9, 2019
1 parent eaed003 commit 6b8df34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mbgl/renderer/renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ void Renderer::dumpDebugLogs() {
}

void Renderer::reduceMemoryUse() {
gfx::BackendScope guard { impl->backend };
impl->reduceMemoryUse();
impl->orchestrator.reduceMemoryUse();
}
Expand Down

0 comments on commit 6b8df34

Please sign in to comment.