[host] d12: fix damage tracking on re-init

This commit is contained in:
Geoffrey McRae committed 2024-02-23 17:28:09 +11:00
1 parent dc4d93f50a
commit a6dc8a9db3
1 file changed
+3
+3
View File
@@ -401,6 +401,9 @@ static bool d12_deinit(void)
memset(&this->captureFormat, 0, sizeof(this->captureFormat));
memset(&this->dstFormat , 0, sizeof(this->dstFormat ));
/* dirty rect history is no longer valid */
this->nbDirtyRects = 0;
return result;
}