1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[dxvk] Properly clear used command buffer flags

Fixes an issue where we would always submit the init buffer, even
if it is empty.
This commit is contained in:
Philip Rebohle 2019-06-28 04:31:17 +02:00
parent 770ec2c4db
commit 110fc8f833
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -109,7 +109,7 @@ namespace dxvk {
// Unconditionally mark the exec buffer as used. There
// is virtually no use case where this isn't correct.
m_cmdBuffersUsed.set(DxvkCmdBuffer::ExecBuffer);
m_cmdBuffersUsed = DxvkCmdBuffer::ExecBuffer;
}