mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
VideoCommon: Fix stereoscopic 3D on OpenGL < 4.3 (macOS)
This commit is contained in:
parent
ba3c38a63f
commit
f25a0b43b6
7 changed files with 19 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue