[c-host] app: fix updateEvent race problem

This commit is contained in:
Geoffrey McRae
2019-03-04 13:38:17 +11:00
parent 6e35033f2e
commit a8b018d5da
4 changed files with 24 additions and 17 deletions

View File

@@ -76,7 +76,7 @@ static bool dxgi_create()
return false;
}
this->copyEvent = os_createEvent();
this->copyEvent = os_createEvent(true);
if (!this->copyEvent)
{
DEBUG_ERROR("failed to create the copy event");