Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Android] Remove unnecessary equals comparison in VideoSettingsFragme…
…nt.java in function SupportsGLES3(). contains() can handle this situation.
  • Loading branch information
lioncash committed Oct 7, 2013
1 parent 9920362 commit fb4cc76
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -155,7 +155,7 @@ public static boolean SupportsGLES3()
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.
Expand Down

0 comments on commit fb4cc76

Please sign in to comment.