1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-18 20:52:10 +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 {
m_transferCommands += 1;
m_context->clearBuffer(
bufferSlice.buffer(),
bufferSlice.offset(),
bufferSlice.length(),
0u);
m_context->initBuffer(
bufferSlice.buffer());
}
FlushImplicit();