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
parent b6db0d0ab8
commit d2e4c2fc50
1 changed files with 1 additions and 1 deletions

View File

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