Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Maxwell3D: Correct marking dirtiness on CB upload

Fernando Sahmkow8dd4797e0014
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index d499aaa8d3..0c4e72dfe7 100644
--- a/src/video_core/engines/maxwell_3d.cpp
+++ b/src/video_core/engines/maxwell_3d.cpp
@@ -568,6 +568,7 @@ void Maxwell3D::FinishCBData() {
const u32 id = cb_data_state.id;
memory_manager.WriteBlock(address, cb_data_state.buff[id].data(), size);
+ dirty.ResetVertexArrays();
cb_data_state.id = null_cb_data;
cb_data_state.current = null_cb_data;