drm_hwcomposer: fix BufferInfoImagination build
Commite9fbd8d626("drm_hwcomposer: Set return type to std::optional for BufferInfoGetters") changed the BufferInfo variable name, but missed the case defined under HAL_PIXEL_FORMAT_BGRX_8888. This results in build failures. This patch fixes the build issue by completing the variable renaming. Fixes:e9fbd8d626("drm_hwcomposer: Set return type to std::optional for BufferInfoGetters") Signed-off-by: Andrii Chepurnyi <andrii_chepurnyi@epam.com>
This commit is contained in:
parent
9f4e3dbb3b
commit
5089ffe0de
1 changed files with 1 additions and 1 deletions
|
|
@ -51,7 +51,7 @@ auto BufferInfoImagination::GetBoInfo(buffer_handle_t handle)
|
|||
switch (hnd->iFormat) {
|
||||
#ifdef HAL_PIXEL_FORMAT_BGRX_8888
|
||||
case HAL_PIXEL_FORMAT_BGRX_8888:
|
||||
bo->format = DRM_FORMAT_XRGB8888;
|
||||
bi.format = DRM_FORMAT_XRGB8888;
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue