Skip to content

Commit

Permalink
[d3d9] Fix number of streams
Browse files Browse the repository at this point in the history
  • Loading branch information
K0bin committed Mar 7, 2024
1 parent 8d7bed3 commit 893fcdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/d3d9/d3d9_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1661,7 +1661,7 @@ namespace dxvk {
});
}

for (uint32_t i = 0; i < DxvkLimits::MaxNumVertexBindings; i++) {
for (uint32_t i = 0; i < caps::MaxStreams; i++) {
if (m_state.vertexBuffers[i].vertexBuffer == nullptr) {
EmitCs([cIndex = i](DxvkContext* ctx) {
ctx->bindVertexBuffer(cIndex, DxvkBufferSlice(), 0);
Expand Down

0 comments on commit 893fcdc

Please sign in to comment.