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:
Ryan Houdek 2014-06-06 21:21:35 -05:00
commit d2e4c2fc50

View file

@ -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;
} }