summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-07-14 17:56:47 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-07-17 23:29:53 +0200
commit0ff4a5fa3918c5a1aa9d973061354bf21d7205d8 (patch)
treef1fd88a492fb3532d34294399144737462badce7
parentGL_Rasterizer: Rework RenderTarget/DepthBuffer clearing (diff)
downloadyuzu-0ff4a5fa3918c5a1aa9d973061354bf21d7205d8.tar
yuzu-0ff4a5fa3918c5a1aa9d973061354bf21d7205d8.tar.gz
yuzu-0ff4a5fa3918c5a1aa9d973061354bf21d7205d8.tar.bz2
yuzu-0ff4a5fa3918c5a1aa9d973061354bf21d7205d8.tar.lz
yuzu-0ff4a5fa3918c5a1aa9d973061354bf21d7205d8.tar.xz
yuzu-0ff4a5fa3918c5a1aa9d973061354bf21d7205d8.tar.zst
yuzu-0ff4a5fa3918c5a1aa9d973061354bf21d7205d8.zip
-rw-r--r--src/video_core/engines/maxwell_3d.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cpp
index d499aaa8d..0c4e72dfe 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;