Skip to content

Commit 13df6c3

Browse files
committed
GPU/HW: Fix incorrect version capping for GL<4.3
1 parent 0571b75 commit 13df6c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/gpu_hw_shadergen.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void GPU_HW_ShaderGen::SetGLSLVersionString()
5050
if (std::sscanf(glsl_version_start, "%d.%d", &major_version, &minor_version) == 2)
5151
{
5252
// Cap at GLSL 4.3, we're not using anything newer for now.
53-
if (!glsl_es && (major_version > 4 || (major_version == 4 && minor_version > 3)))
53+
if (!glsl_es && (major_version > 4 || (major_version == 4 && minor_version > 30)))
5454
{
5555
major_version = 4;
5656
minor_version = 30;

0 commit comments

Comments
 (0)