mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-03-02 13:29:14 +01:00
[d3d9] Fix number of streams
This commit is contained in:
parent
69a52b3da0
commit
15ddadc4de
@ -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) {
|
if (m_state.vertexBuffers[i].vertexBuffer == nullptr) {
|
||||||
EmitCs([cIndex = i](DxvkContext* ctx) {
|
EmitCs([cIndex = i](DxvkContext* ctx) {
|
||||||
ctx->bindVertexBuffer(cIndex, DxvkBufferSlice(), 0);
|
ctx->bindVertexBuffer(cIndex, DxvkBufferSlice(), 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user