mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-20 11:35:54 +00:00
[Android] Remove unnecessary equals comparison in VideoSettingsFragment.java in function SupportsGLES3(). contains() can handle this situation.
This commit is contained in:
parent
9920362581
commit
fb4cc76b11
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ public final class VideoSettingsFragment extends PreferenceFragment
|
|||
boolean mSupportsGLES3 = false;
|
||||
|
||||
// Check for OpenGL ES 3 support (General case).
|
||||
if (m_GLVersion != null && (m_GLVersion.contains("OpenGL ES 3.0") || m_GLVersion.equals("OpenGL ES 3.0")))
|
||||
if (m_GLVersion != null && m_GLVersion.contains("OpenGL ES 3.0"))
|
||||
mSupportsGLES3 = true;
|
||||
|
||||
// Checking for OpenGL ES 3 support for certain Qualcomm devices.
|
||||
|
|
Loading…
Add table
Reference in a new issue