Merge pull request #469 from Sonicadvance1/GLES-version-detect-fix
Fix OpenGL ES version detection.
This commit is contained in:
commit
28c8802515
|
@ -463,7 +463,7 @@ Renderer::Renderer()
|
||||||
|
|
||||||
if (GLInterface->GetMode() == GLInterfaceMode::MODE_OPENGLES3)
|
if (GLInterface->GetMode() == GLInterfaceMode::MODE_OPENGLES3)
|
||||||
{
|
{
|
||||||
if (strstr(g_ogl_config.glsl_version, "3.00"))
|
if (strstr(g_ogl_config.glsl_version, "3.0"))
|
||||||
{
|
{
|
||||||
g_ogl_config.eSupportedGLSLVersion = GLSLES_300;
|
g_ogl_config.eSupportedGLSLVersion = GLSLES_300;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue