diff options
| author | 2013-06-12 00:23:27 +0000 | |
|---|---|---|
| committer | 2013-06-12 00:23:27 +0000 | |
| commit | 1e4795ab64755bdae48fe7b8cd78f204c9022791 (patch) | |
| tree | d5a5dc28396667854f0bfc5719844a9c18b716af /libs/hwui/Program.cpp | |
| parent | fc74f85f2e54ee561888dfef57cd70cb6ab6f2d1 (diff) | |
| parent | 4c2547fa9244e78115cde0a259291053108c3dc7 (diff) | |
Merge "Avoid 9patch cache lookups when possible"
Diffstat (limited to 'libs/hwui/Program.cpp')
| -rw-r--r-- | libs/hwui/Program.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/hwui/Program.cpp b/libs/hwui/Program.cpp index c127d684be32..9e4670e62dcd 100644 --- a/libs/hwui/Program.cpp +++ b/libs/hwui/Program.cpp @@ -172,7 +172,7 @@ void Program::set(const mat4& projectionMatrix, const mat4& modelViewMatrix, // up and to the left. // This offset value is based on an assumption that some hardware may use as // little as 12.4 precision, so we offset by slightly more than 1/16. - p.translate(.065, .065, 0); + p.translate(.065, .065); glUniformMatrix4fv(projection, 1, GL_FALSE, &p.data[0]); } mProjection = projectionMatrix; |