Skip to content

Commit d402e02

Browse files
committed
Fix
1 parent 35c252e commit d402e02

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/backends/dx/DXRuntime/CommandAllocator.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,7 @@ void CommandAllocator::Execute(
9393
}
9494
for (auto &i : swapChains)
9595
present(i.first, i.second);
96-
if (!device->deviceSettings->SignalFence(cmdQueue, fence, fenceIndex)) {
97-
ThrowIfFailed(cmdQueue->Signal(fence, fenceIndex));
98-
}
96+
ThrowIfFailed(cmdQueue->Signal(fence, fenceIndex));
9997
} else {
10098
if (!cmdlist_is_empty) {
10199
if (!device->deviceSettings->ExecuteCommandList(cmdQueue, static_cast<ID3D12GraphicsCommandList *>(cmdList)))

0 commit comments

Comments
 (0)