mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 13:24:20 +01:00
[d3d9] Fix stream count in Reset
This commit is contained in:
parent
0776d764a4
commit
8b8be7c2bf
@ -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…
Reference in New Issue
Block a user