[d3d9] Reset vertex & index buffer in Reset

This commit is contained in:
Robin Kertels 2023-06-13 23:13:08 +02:00 committed by Joshie
parent d1707026f9
commit c75ed86909
1 changed files with 5 additions and 0 deletions

View File

@ -7496,6 +7496,11 @@ namespace dxvk {
UpdateAnyColorWrites<1>(true);
UpdateAnyColorWrites<2>(true);
UpdateAnyColorWrites<3>(true);
SetIndices(nullptr);
for (uint32_t i = 0; i < caps::MaxStreams; i++) {
SetStreamSource(i, nullptr, 0, 0);
}
}