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

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

Merge "Fix unitialized field in HWC2on1Adapter"

parents e79044e6 16ab8191
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1295,6 +1295,7 @@ bool HWC2On1Adapter::Display::prepare()
    for (auto& layer : mLayers) {
        auto& hwc1Layer = mHwc1RequestedContents->hwLayers[layer->getHwc1Id()];
        hwc1Layer.releaseFenceFd = -1;
        hwc1Layer.acquireFenceFd = -1;
        layer->applyState(hwc1Layer, applyAllState);
    }