From acba14be77a39f6a1336f5751e99ff83f2df8ec1 Mon Sep 17 00:00:00 2001 From: Zach Reizner Date: Tue, 13 Oct 2015 18:19:26 -0700 Subject: [PATCH] drm_hwcomposer: set the composition map's display field Change-Id: I67842cdfd0afab67a81448c1b64da47d2f933db3 --- hwcomposer.cpp | 1 + 1 file changed, 1 insertion(+) 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 &indices_to_composite = layers_indices[i]; for (size_t j : indices_to_composite) { hwc_layer_1_t *sf_layer = &dc->hwLayers[j]; -- 2.11.0