diff options
author | Zach Reizner <zachr@google.com> | 2015-10-13 18:19:26 -0700 |
---|---|---|
committer | Zach Reizner <zachr@google.com> | 2015-10-13 18:23:45 -0700 |
commit | acba14be77a39f6a1336f5751e99ff83f2df8ec1 (patch) | |
tree | cf87e643349db99597f4397846fe2f38b159430c /hwcomposer.cpp | |
parent | 647781f69641f85b080b1f649a01b4dae59938f2 (diff) | |
download | drm_hwcomposer-acba14be77a39f6a1336f5751e99ff83f2df8ec1.tar.gz |
drm_hwcomposer: set the composition map's display field
Change-Id: I67842cdfd0afab67a81448c1b64da47d2f933db3
Diffstat (limited to 'hwcomposer.cpp')
-rw-r--r-- | hwcomposer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hwcomposer.cpp b/hwcomposer.cpp index 0a7be52..6a0f4cd 100644 --- a/hwcomposer.cpp +++ b/hwcomposer.cpp @@ -501,6 +501,7 @@ static int hwc_set(hwc_composer_device_1_t *dev, size_t num_displays, layers_map.emplace_back(); DrmCompositionDisplayLayersMap &map = layers_map.back(); + map.display = i; std::vector<size_t> &indices_to_composite = layers_indices[i]; for (size_t j : indices_to_composite) { hwc_layer_1_t *sf_layer = &dc->hwLayers[j]; |