1
0
Fork 0

drm_hwcomposer: Fix BufferInfoMaliMeson

In commit e9fbd8d626 ("drm_hwcomposer: Set return type to
std::optional for BufferInfoGetters") the final return for
BufferInfoMaliMeson::GetBoInfo() erroneously was changed to
return {} instead of the calculated BufferInfo object.

This simply fixes the issue, returning the BufferInfo.

Change-Id: I03789b48dc4a0df64432f7ff31661746163a96b8
Signed-off-by: John Stultz <jstultz@google.com>
This commit is contained in:
John Stultz 2022-07-07 21:45:47 +00:00
parent 799e8c74c6
commit 9f4e3dbb3b

View file

@ -86,7 +86,7 @@ auto BufferInfoMaliMeson::GetBoInfo(buffer_handle_t handle)
bi.pitches[0] = hnd->byte_stride;
bi.offsets[0] = 0;
return {};
return bi;
}
} // namespace android