1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-11 01:24:12 +01:00

[d3d9] Fix number of streams

This commit is contained in:
Robin Kertels 2024-03-07 21:01:30 +01:00
parent 69a52b3da0
commit 15ddadc4de

View File

@ -1625,7 +1625,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);