Use offset in line drawing

Partial revert of cb4d6009

bug:7299070
Change-Id: I1db7b035e3015e0f6d15c95aef71ea74dbeca13e
This commit is contained in:
Chris Craik
2012-10-05 19:11:37 -07:00
parent 18c2b6e730
commit b30cb10a0c

View File

@@ -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();