Skip to content

Commit 1839781

Browse files
committed
Fixing the event to wait on.
Thanks @damyanp!
1 parent 6ef3802 commit 1839781

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/API/DX/Device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ class DXDevice : public hlsltest::Device {
487487
IS.Fence->SetEventOnCompletion(CurrentCounter, IS.Event),
488488
"Failed to register end event."))
489489
return Err;
490-
WaitForSingleObject(IS.Fence, INFINITE);
490+
WaitForSingleObject(IS.Event, INFINITE);
491491
}
492492
FenceCounter = CurrentCounter;
493493
return llvm::Error::success();

0 commit comments

Comments
 (0)