diff options
| author | 2010-10-13 18:54:37 -0700 | |
|---|---|---|
| committer | 2010-10-13 18:54:37 -0700 | |
| commit | 2340b8421ab5c7a0fb3ffc6b56ccc89f0872fae7 (patch) | |
| tree | def5ac47b579d1291ba3e74698b8af2de27df20d /libs/hwui/OpenGLRenderer.cpp | |
| parent | 184498ce5a8d77e1d9c45693363829daaeef9611 (diff) | |
| parent | 93d2361c6d294c390cb5c4a13bd1b88dcd465fd7 (diff) | |
Merge changes If2f987fe,Iedf42cbc
* changes:
Fix layer rendering glitch.
Don't draw TextView's alpha layers when not needed.
Diffstat (limited to 'libs/hwui/OpenGLRenderer.cpp')
| -rw-r--r-- | libs/hwui/OpenGLRenderer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/OpenGLRenderer.cpp b/libs/hwui/OpenGLRenderer.cpp index d81760d96c83..287601092f20 100644 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -455,7 +455,7 @@ bool OpenGLRenderer::createLayer(sp<Snapshot> snapshot, float left, float top, #endif // Clear the FBO - glScissor(0.0f, 0.0f, bounds.getWidth(), bounds.getHeight()); + glScissor(0.0f, 0.0f, bounds.getWidth() + 1.0f, bounds.getHeight() + 1.0f); glClearColor(0.0f, 0.0f, 0.0f, 0.0f); glClear(GL_COLOR_BUFFER_BIT); |