[Android] Use equals to compare GL version string instead of contains. This should really be some sort of sscanf check so we can check if version > 3.0 but we'll worry about that when OpenGL ES 4.0 is released.
This commit is contained in:
parent
3e697b363e
commit
bc58e7f42f
|
@ -101,7 +101,7 @@ public class PrefsFragment extends PreferenceFragment {
|
|||
|
||||
boolean mSupportsGLES3 = false;
|
||||
|
||||
if (m_GLVersion.contains("OpenGL ES 3.0")) // 3.0 support
|
||||
if (m_GLVersion.equals("OpenGL ES 3.0")) // 3.0 support
|
||||
mSupportsGLES3 = true;
|
||||
if (!mSupportsGLES3 && m_GLVendor.equals("Qualcomm"))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue