mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 05:27:20 +00:00
[host] d12: fix damage tracking on re-init
This commit is contained in:
parent
dc4d93f50a
commit
a6dc8a9db3
@ -401,6 +401,9 @@ static bool d12_deinit(void)
|
|||||||
memset(&this->captureFormat, 0, sizeof(this->captureFormat));
|
memset(&this->captureFormat, 0, sizeof(this->captureFormat));
|
||||||
memset(&this->dstFormat , 0, sizeof(this->dstFormat ));
|
memset(&this->dstFormat , 0, sizeof(this->dstFormat ));
|
||||||
|
|
||||||
|
/* dirty rect history is no longer valid */
|
||||||
|
this->nbDirtyRects = 0;
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user