[core] Put gfx backend scope guard to Renderer::reduceMemoryUse()

This commit is contained in:
Mikhail Pozdnyakov
2019-07-09 16:32:45 +03:00
parent eaed0036ef
commit 6b8df343ef

View File

@@ -116,6 +116,7 @@ void Renderer::dumpDebugLogs() {
}
void Renderer::reduceMemoryUse() {
gfx::BackendScope guard { impl->backend };
impl->reduceMemoryUse();
impl->orchestrator.reduceMemoryUse();
}