Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a042a303 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Don't clear a layerPool that is never initialized."

parents d14711f3 7a4216bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -105,8 +105,8 @@ static void layerDestroyedVkContext(Layer* layer) {
}

void RenderState::onVkContextDestroyed() {
    mLayerPool->clear();
    std::for_each(mActiveLayers.begin(), mActiveLayers.end(), layerDestroyedVkContext);
    destroyLayersInUpdater();
    GpuMemoryTracker::onGpuContextDestroyed();
}