mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 02:52:30 +02: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
@ -155,7 +155,7 @@ public final class VideoSettingsFragment extends PreferenceFragment
|
|||||||
boolean mSupportsGLES3 = false;
|
boolean mSupportsGLES3 = false;
|
||||||
|
|
||||||
// Check for OpenGL ES 3 support (General case).
|
// 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;
|
mSupportsGLES3 = true;
|
||||||
|
|
||||||
// Checking for OpenGL ES 3 support for certain Qualcomm devices.
|
// Checking for OpenGL ES 3 support for certain Qualcomm devices.
|
||||||
|
Loading…
Reference in New Issue
Block a user