GPU/HW: Fix incorrect version capping for GL<4.3

This commit is contained in:
Connor McLaughlin 2020-05-25 18:37:11 +10:00
parent 0571b75fa5
commit 13df6c3e15
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ void GPU_HW_ShaderGen::SetGLSLVersionString()
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.
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;
minor_version = 30;