mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-15 22:00:26 -05:00
FramebufferManager: Fix restoring of EFB depth buffer
Correct state wasn't being set.
This commit is contained in:
@@ -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