mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user