mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[host] nvfbc: bump the format version when HDR status changes
This commit is contained in:
parent
f84165ac66
commit
45318aa653
@ -81,6 +81,7 @@ struct iface
|
||||
unsigned int formatVer;
|
||||
unsigned int grabWidth, grabHeight, grabStride;
|
||||
unsigned int shmStride;
|
||||
bool isHDR;
|
||||
|
||||
uint8_t * frameBuffer;
|
||||
uint8_t * diffMap;
|
||||
@ -707,6 +708,7 @@ static CaptureResult nvfbc_waitFrame(CaptureFrame * frame,
|
||||
this->grabInfo.dwWidth != this->grabWidth ||
|
||||
this->grabInfo.dwHeight != this->grabHeight ||
|
||||
this->grabInfo.dwBufferWidth != this->grabStride ||
|
||||
this->grabInfo.bIsHDR != this->isHDR ||
|
||||
this->resChanged)
|
||||
{
|
||||
this->grabWidth = this->grabInfo.dwWidth;
|
||||
|
Loading…
Reference in New Issue
Block a user