mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-11 05:16:19 +02:00
FramebufferManager: Fix restoring of EFB depth buffer
Correct state wasn't being set.
This commit is contained in:
1 parent
7afba6776f
commit
25b3e5e029
1 file changed
+1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user