Fix OpenGL ES version detection.
Mesa report GLES version as "3.0" not "3.00" Spec mandates X.Y versioning scheme, doesn't say how long the decimal place must be.
This commit is contained in:
parent
b6db0d0ab8
commit
d2e4c2fc50
|
@ -463,7 +463,7 @@ Renderer::Renderer()
|
|||
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue