diff options
author | Jonathan Dixon <joth@google.com> | 2013-08-07 14:59:29 -0700 |
---|---|---|
committer | Jonathan Dixon <joth@google.com> | 2013-08-07 14:59:29 -0700 |
commit | c95505573d864f17cabf515e32f5b8e0831ae237 (patch) | |
tree | 666b0c83a86af06fe1c05a5ba3976b66c1d9d6a2 /ui | |
parent | 1929f2047bc7cc96422f6c9f96ae8c24ae320506 (diff) | |
download | chromium_org-c95505573d864f17cabf515e32f5b8e0831ae237.tar.gz |
Downstream Workaround for Qualcomm Bug 10205015
Change-Id: Ib6c2c314e57be5b23acd60cee2e9f4ea6598ab7e
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gl/gl_image_egl.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gl/gl_image_egl.cc b/ui/gl/gl_image_egl.cc index 182117cd28..c2d82d7381 100644 --- a/ui/gl/gl_image_egl.cc +++ b/ui/gl/gl_image_egl.cc @@ -75,6 +75,10 @@ void GLImageEGL::Destroy() { } void GLImageEGL::ReleaseTexImage() { + // === START ANDROID WORKAROUND http://b/10205015 + static bool is_qcom = strcmp((char*)glGetString(GL_VENDOR), "Qualcomm") == 0; + if (is_qcom) return; + // === END ANDROID WORKAROUND http://b/10205015 char zero[4] = { 0, }; glTexImage2D(GL_TEXTURE_2D, 0, |