diff options
author | siva.gunturi@samsung.com <siva.gunturi@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-25 11:21:58 +0000 |
---|---|---|
committer | siva.gunturi@samsung.com <siva.gunturi@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-25 11:21:58 +0000 |
commit | 47f3406b609e07cdac14e9717faa80124c2f8554 (patch) | |
tree | 8bea98bb3b909f05a5477a4d001ca59948081085 | |
parent | d479a037803563ab83ad50784beb7e552b5503c9 (diff) | |
download | chromium_src-47f3406b609e07cdac14e9717faa80124c2f8554.zip chromium_src-47f3406b609e07cdac14e9717faa80124c2f8554.tar.gz chromium_src-47f3406b609e07cdac14e9717faa80124c2f8554.tar.bz2 |
Remove unused alpha variable.
BUG=272429
Review URL: https://codereview.chromium.org/144693003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247121 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | ui/gl/gl_surface_egl.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/gl/gl_surface_egl.cc b/ui/gl/gl_surface_egl.cc index 95de111..0db2fc7 100644 --- a/ui/gl/gl_surface_egl.cc +++ b/ui/gl/gl_surface_egl.cc @@ -230,7 +230,7 @@ bool GLSurfaceEGL::InitializeOneOff() { bool match_found = false; for (int i = 0; i < num_configs; i++) { EGLBoolean success; - EGLint red, green, blue, alpha; + EGLint red, green, blue; // Read the relevent attributes of the EGLConfig. success = eglGetConfigAttrib(g_display, matching_configs[i], EGL_RED_SIZE, &red); @@ -238,8 +238,6 @@ bool GLSurfaceEGL::InitializeOneOff() { EGL_BLUE_SIZE, &blue); success &= eglGetConfigAttrib(g_display, matching_configs[i], EGL_GREEN_SIZE, &green); - success &= eglGetConfigAttrib(g_display, matching_configs[i], - EGL_ALPHA_SIZE, &alpha); if ((success == EGL_TRUE) && (red == 5) && (green == 6) && (blue == 5)) { g_config = matching_configs[i]; |