[host] d12: cosmetics

This commit is contained in:
Geoffrey McRae 2024-02-23 08:38:32 +11:00
parent 055d5527ef
commit 1098b7e6bd

View File

@ -452,7 +452,8 @@ static CaptureResult d12_waitFrame(unsigned frameBufferIndex,
frame->truncated = maxRows < dstFormat.Height;
frame->pitch = dstFormat.Width * 4;
frame->stride = dstFormat.Width;
frame->format = this->allowRGB24 ? CAPTURE_FMT_BGR_32 : CAPTURE_FMT_BGRA;
frame->format = this->allowRGB24 ?
CAPTURE_FMT_BGR_32 : CAPTURE_FMT_BGRA;
frame->hdr = false;
frame->hdrPQ = false;
frame->rotation = CAPTURE_ROT_0;