mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-17 12:58:55 +02: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