Avoid usage of CreateEventEx in WASAPI code

This also uses FALSE as parameters consistently for CreateEvent()
This commit is contained in:
Sam Lantinga
2024-11-24 17:49:17 -08:00
parent 7a3f5ef129
commit c508396e33
2 changed files with 2 additions and 7 deletions

View File

@@ -6849,7 +6849,7 @@ static D3D12Fence *D3D12_INTERNAL_AcquireFence(
return NULL;
}
fence->handle = handle;
fence->event = CreateEvent(NULL, 0, 0, NULL);
fence->event = CreateEvent(NULL, FALSE, FALSE, NULL);
SDL_SetAtomicInt(&fence->referenceCount, 0);
} else {
fence = renderer->availableFences[renderer->availableFenceCount - 1];