Commit 48590783 authored by Bhushan Shah's avatar Bhushan Shah 📱
Browse files

[platforms/hwcomposer] Set value of surfaceDamage.numRects to 0

Newer hwcomposer implementation seem to require this. This additional
fix is required in addition to 54565a94 for newer hwcomposer
parent fc887ab9
......@@ -417,6 +417,9 @@ static void initLayer(hwc_layer_1_t *layer, const hwc_rect_t &rect, int layerCom
layer->acquireFenceFd = -1;
layer->releaseFenceFd = -1;
layer->planeAlpha = 0xFF;
layer->surfaceDamage.numRects = 0;
HwcomposerWindow::HwcomposerWindow(HwcomposerBackend *backend)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment