From d2e4c2fc506888dc9936a1114e5c852337250936 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Fri, 6 Jun 2014 21:21:35 -0500 Subject: [PATCH] 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. --- Source/Core/VideoBackends/OGL/Render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/VideoBackends/OGL/Render.cpp b/Source/Core/VideoBackends/OGL/Render.cpp index f264db9a6d..a1e41c5179 100644 --- a/Source/Core/VideoBackends/OGL/Render.cpp +++ b/Source/Core/VideoBackends/OGL/Render.cpp @@ -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; }