diff --git a/rpcs3/Emu/RSX/GL/GLDraw.cpp b/rpcs3/Emu/RSX/GL/GLDraw.cpp index 51bf257aef..e8ea4bc714 100644 --- a/rpcs3/Emu/RSX/GL/GLDraw.cpp +++ b/rpcs3/Emu/RSX/GL/GLDraw.cpp @@ -715,7 +715,10 @@ void GLGSRender::end() m_frame_stats.textures_upload_time += m_profiler.duration(); gl::command_context cmd{ gl_state }; - if (auto ds = std::get<1>(m_rtts.m_bound_depth_stencil)) ds->write_barrier(cmd); + if (auto ds = std::get<1>(m_rtts.m_bound_depth_stencil)) + { + ds->write_barrier(cmd); + } for (auto &rtt : m_rtts.m_bound_render_targets) { @@ -725,6 +728,8 @@ void GLGSRender::end() } } + m_graphics_state.clear(rsx::zeta_address_cyclic_barrier); + update_draw_state(); if (g_cfg.video.debug_output)