mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-29 10:06:28 +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
|
// init the ds usage
|
||||||
for(unsigned int i = 0; i < ARRAY_LENGTH(ds); ++i)
|
for(unsigned int i = 0; i < ARRAY_LENGTH(ds); ++i)
|
||||||
|
{
|
||||||
|
ds[i].id = -1;
|
||||||
ds[i].use = (bool)this->diffMap[i];
|
ds[i].use = (bool)this->diffMap[i];
|
||||||
|
}
|
||||||
|
|
||||||
// reduce the number of resulting rectangles by filling in holes and merging
|
// reduce the number of resulting rectangles by filling in holes and merging
|
||||||
// irregular shapes into contiguous rectangles
|
// irregular shapes into contiguous rectangles
|
||||||
|
Loading…
x
Reference in New Issue
Block a user