From 1098b7e6bda6f6547a34134d5d522343c6e76730 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Fri, 23 Feb 2024 08:38:32 +1100 Subject: [PATCH] [host] d12: cosmetics --- host/platform/Windows/capture/D12/d12.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/host/platform/Windows/capture/D12/d12.c b/host/platform/Windows/capture/D12/d12.c index 064ef913..c1f9af18 100644 --- a/host/platform/Windows/capture/D12/d12.c +++ b/host/platform/Windows/capture/D12/d12.c @@ -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;