mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[host] nvfbc: fix use of initialized variable
This commit is contained in:
parent
ad65561511
commit
a6a6b8779a
@ -589,7 +589,10 @@ static void updateDamageRects(CaptureFrame * frame)
|
||||
|
||||
// init the ds usage
|
||||
for(unsigned int i = 0; i < ARRAY_LENGTH(ds); ++i)
|
||||
{
|
||||
ds[i].id = -1;
|
||||
ds[i].use = (bool)this->diffMap[i];
|
||||
}
|
||||
|
||||
// reduce the number of resulting rectangles by filling in holes and merging
|
||||
// irregular shapes into contiguous rectangles
|
||||
|
Loading…
Reference in New Issue
Block a user