Don't require OpenGL compatibility profile

This commit is contained in:
Connor McLaughlin
2020-02-15 21:11:51 +09:00
parent 1c17d5495e
commit f5482cb3b6
3 changed files with 30 additions and 4 deletions

View File

@ -59,8 +59,8 @@ void GPU_HW_ShaderGen::SetGLSLVersionString()
}
char buf[128];
std::snprintf(buf, sizeof(buf), "#version %d%02d %s", major_version, minor_version,
(!m_glsl_es && major_version >= 3 && minor_version >= 3) ? "core" : (m_glsl_es ? "es" : ""));
std::snprintf(buf, sizeof(buf), "#version %d%02d%s", major_version, minor_version,
(m_glsl_es && major_version >= 3) ? " es" : "");
m_glsl_version_string = buf;
}