Skip to content
Permalink
Browse files

FramebufferManager: Fix restoring of EFB depth buffer

Correct state wasn't being set.
  • Loading branch information...
stenzek committed Aug 2, 2019
1 parent 7afba67 commit 25b3e5e029c7996ea90e8eeadabb9fece9ebf468
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/Core/VideoCommon/FramebufferManager.cpp
@@ -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();

0 comments on commit 25b3e5e

Please sign in to comment.
You can’t perform that action at this time.