diff options
| author | TellowKrinkle <tellowkrinkle@gmail.com> | 2022-12-11 01:15:15 -0600 |
|---|---|---|
| committer | TellowKrinkle <tellowkrinkle@gmail.com> | 2023-02-14 18:25:33 +0100 |
| commit | f25a0b43b6d3b17ca0d86bde19b646b1fc4a91a4 (patch) | |
| tree | d1a031f5c3f67667919bfcc5da33dfb4437f8f49 /Source/Core/VideoBackends/OGL/OGLConfig.cpp | |
| parent | ba3c38a63f9812ca7ab427960c3543a3c9dbc324 (diff) | |
VideoCommon: Fix stereoscopic 3D on OpenGL < 4.3 (macOS)
Diffstat (limited to 'Source/Core/VideoBackends/OGL/OGLConfig.cpp')
| -rw-r--r-- | Source/Core/VideoBackends/OGL/OGLConfig.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/VideoBackends/OGL/OGLConfig.cpp b/Source/Core/VideoBackends/OGL/OGLConfig.cpp index 10722e0526..ab31592bd2 100644 --- a/Source/Core/VideoBackends/OGL/OGLConfig.cpp +++ b/Source/Core/VideoBackends/OGL/OGLConfig.cpp @@ -528,6 +528,10 @@ bool PopulateConfig(GLContext* m_main_gl_context) glEnable(GL_PROGRAM_POINT_SIZE); } + // Supported by all GS-supporting ES and 4.3+ + g_Config.backend_info.bSupportsGLLayerInFS = g_Config.backend_info.bSupportsGeometryShaders && + g_ogl_config.eSupportedGLSLVersion >= Glsl430; + g_Config.backend_info.bSupportsBBox = g_Config.backend_info.bSupportsFragmentStoresAndAtomics; // Either method can do early-z tests. See PixelShaderGen for details. |
