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:
parent
799e8c74c6
commit
9f4e3dbb3b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue