diff options
author | Chris Craik <ccraik@google.com> | 2012-10-05 19:11:37 -0700 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2012-10-05 19:14:02 -0700 |
commit | b30cb10a0c75c2295e89b1b30d91a73f38ee09fb (patch) | |
tree | b0d09497b77b7efcb553e9a2b665fb2c43652bde /libs | |
parent | 18c2b6e730f6d639421e45328f4fb2514683efe5 (diff) | |
download | frameworks_base-b30cb10a0c75c2295e89b1b30d91a73f38ee09fb.zip frameworks_base-b30cb10a0c75c2295e89b1b30d91a73f38ee09fb.tar.gz frameworks_base-b30cb10a0c75c2295e89b1b30d91a73f38ee09fb.tar.bz2 |
Use offset in line drawing
Partial revert of cb4d6009
bug:7299070
Change-Id: I1db7b035e3015e0f6d15c95aef71ea74dbeca13e
Diffstat (limited to 'libs')
-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 7c23e4b..cc536f2 100644 --- a/libs/hwui/OpenGLRenderer.cpp +++ b/libs/hwui/OpenGLRenderer.cpp @@ -2076,7 +2076,7 @@ status_t OpenGLRenderer::drawLines(float* points, int count, SkPaint* paint) { setupDrawShader(); setupDrawBlending(isAA, mode); setupDrawProgram(); - setupDrawModelViewIdentity(); + setupDrawModelViewIdentity(true); setupDrawColorUniforms(); setupDrawColorFilterUniforms(); setupDrawShaderIdentityUniforms(); |