diff options
| author | Stenzek <stenzek@gmail.com> | 2020-05-24 16:11:10 +1000 |
|---|---|---|
| committer | Stenzek <stenzek@gmail.com> | 2020-05-24 16:11:11 +1000 |
| commit | bf74553878ee4495b684fecb80ca31a567e79c63 (patch) | |
| tree | cabefd405b53d973e3f6391429da11bda4a6c768 /Source/Core/VideoBackends/Software/SWmain.cpp | |
| parent | 393ce529af87b1b11877eb6e376c54592f4160ee (diff) | |
FramebufferManager: Copy to color format for depth readbacks on GLES
glReadPixels() with depth formats is not supported.
Should fix broken EFB access on GLES.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWmain.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SWmain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/Software/SWmain.cpp b/Source/Core/VideoBackends/Software/SWmain.cpp index 4309e39021..2e75416171 100644 --- a/Source/Core/VideoBackends/Software/SWmain.cpp +++ b/Source/Core/VideoBackends/Software/SWmain.cpp @@ -77,6 +77,7 @@ void VideoSoftware::InitBackendInfo() g_Config.backend_info.bSupportsBPTCTextures = false; g_Config.backend_info.bSupportsCopyToVram = false; g_Config.backend_info.bSupportsLargePoints = false; + g_Config.backend_info.bSupportsDepthReadback = false; g_Config.backend_info.bSupportsPartialDepthCopies = false; g_Config.backend_info.bSupportsFramebufferFetch = false; g_Config.backend_info.bSupportsBackgroundCompiling = false; |
