mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[host] d12: cosmetics
This commit is contained in:
parent
055d5527ef
commit
1098b7e6bd
@ -452,7 +452,8 @@ static CaptureResult d12_waitFrame(unsigned frameBufferIndex,
|
|||||||
frame->truncated = maxRows < dstFormat.Height;
|
frame->truncated = maxRows < dstFormat.Height;
|
||||||
frame->pitch = dstFormat.Width * 4;
|
frame->pitch = dstFormat.Width * 4;
|
||||||
frame->stride = dstFormat.Width;
|
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->hdr = false;
|
||||||
frame->hdrPQ = false;
|
frame->hdrPQ = false;
|
||||||
frame->rotation = CAPTURE_ROT_0;
|
frame->rotation = CAPTURE_ROT_0;
|
||||||
|
Loading…
Reference in New Issue
Block a user