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

[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

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);
}
}