mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2025-01-19 06:45:39 +00:00
GPU/OpenGL: Make GL4.3 a prereq for binding layout
This was incorrectly checking for GL4.2, but explicit uniform/attribute location isn't supported until GL4.3 without the extension.
This commit is contained in:
parent
3f698d6ed9
commit
910d3cdbb4
|
@ -23,7 +23,7 @@ ShaderGen::~ShaderGen() = default;
|
|||
|
||||
bool ShaderGen::UseGLSLBindingLayout()
|
||||
{
|
||||
return (GLAD_GL_ES_VERSION_3_1 || GLAD_GL_VERSION_4_2 ||
|
||||
return (GLAD_GL_ES_VERSION_3_1 || GLAD_GL_VERSION_4_3 ||
|
||||
(GLAD_GL_ARB_explicit_attrib_location && GLAD_GL_ARB_explicit_uniform_location &&
|
||||
GLAD_GL_ARB_shading_language_420pack));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue