mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-06 20:58:37 +01:00
[d3d9] Fix stream count in Reset
This commit is contained in:
parent
0776d764a4
commit
8b8be7c2bf
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ namespace dxvk {
|
|||
// Unbind all buffers that were still bound to the backend to avoid leaks.
|
||||
EmitCs([](DxvkContext* ctx) {
|
||||
ctx->bindIndexBuffer(DxvkBufferSlice(), VK_INDEX_TYPE_UINT32);
|
||||
for (uint32_t i = 0; i < DxvkLimits::MaxNumVertexBindings; i++) {
|
||||
for (uint32_t i = 0; i < caps::MaxStreams; i++) {
|
||||
ctx->bindVertexBuffer(i, DxvkBufferSlice(), 0);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue