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

[d3d11] Use initBuffer method

This commit is contained in:
Philip Rebohle 2022-02-17 15:32:53 +01:00
parent 080aa1a989
commit 18a960a1e1
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -83,11 +83,8 @@ namespace dxvk {
} else { } else {
m_transferCommands += 1; m_transferCommands += 1;
m_context->clearBuffer( m_context->initBuffer(
bufferSlice.buffer(), bufferSlice.buffer());
bufferSlice.offset(),
bufferSlice.length(),
0u);
} }
FlushImplicit(); FlushImplicit();