GPU/HW: Fix incorrect version capping for GL<4.3
This commit is contained in:
parent
0571b75fa5
commit
13df6c3e15
|
@ -50,7 +50,7 @@ void GPU_HW_ShaderGen::SetGLSLVersionString()
|
||||||
if (std::sscanf(glsl_version_start, "%d.%d", &major_version, &minor_version) == 2)
|
if (std::sscanf(glsl_version_start, "%d.%d", &major_version, &minor_version) == 2)
|
||||||
{
|
{
|
||||||
// Cap at GLSL 4.3, we're not using anything newer for now.
|
// Cap at GLSL 4.3, we're not using anything newer for now.
|
||||||
if (!glsl_es && (major_version > 4 || (major_version == 4 && minor_version > 3)))
|
if (!glsl_es && (major_version > 4 || (major_version == 4 && minor_version > 30)))
|
||||||
{
|
{
|
||||||
major_version = 4;
|
major_version = 4;
|
||||||
minor_version = 30;
|
minor_version = 30;
|
||||||
|
|
Loading…
Reference in New Issue