FramebufferManager: Fix restoring of EFB depth buffer

Correct state wasn't being set.
This commit is contained in:
Stenzek 2019-08-03 01:46:52 +10:00
parent 7afba6776f
commit 25b3e5e029
1 changed files with 1 additions and 0 deletions

View File

@ -472,6 +472,7 @@ bool FramebufferManager::CompileReadbackPipelines()
if (!restore_shader)
return false;
config.depth_state = RenderState::GetAlwaysWriteDepthState();
config.framebuffer_state = GetEFBFramebufferState();
config.framebuffer_state.per_sample_shading = false;
config.vertex_shader = g_shader_cache->GetScreenQuadVertexShader();