diff options
| author | 2011-06-17 17:45:59 -0700 | |
|---|---|---|
| committer | 2011-06-17 17:45:59 -0700 | |
| commit | d6b2a00dd43257d1498b09175bff63663f6cb861 (patch) | |
| tree | 458956fbcc18eb53ddc81fd7a4d1bf64ee3c7a92 /libs/hwui/OpenGLRenderer.cpp | |
| parent | 98029c825b9234e6b90721d910cc180885fcab1d (diff) | |
Add error checking to LayerRenderer::copyLayer
This method is invoked by TextureView.getBitmap() and failures must be
caught to avoid leaving the GL context in a potentially bad state.
Change-Id: I620de395ba1bc20154de58c81963223dc55cac78
Diffstat (limited to 'libs/hwui/OpenGLRenderer.cpp')
| -rw-r--r-- | libs/hwui/OpenGLRenderer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index 5343a059ec26..88774c6dff47 100644 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -151,7 +151,6 @@ void OpenGLRenderer::prepareDirty(float left, float top, float right, float bott mSaveCount = 1; glViewport(0, 0, mWidth, mHeight); - glDisable(GL_DITHER); glEnable(GL_SCISSOR_TEST); |