diff options
author | Chris Craik <ccraik@google.com> | 2014-01-02 16:46:18 -0800 |
---|---|---|
committer | Chris Craik <ccraik@google.com> | 2014-01-02 16:52:32 -0800 |
commit | 564acf7c9bff822f608cda0d5df0a64a9f9aaefd (patch) | |
tree | 93a3203fc99098dedd4df5660c96d6800c97ae93 /libs/hwui/Program.cpp | |
parent | e459367a3a49cbe94dfe38c50369431614dddc9c (diff) |
Fix Clang warnings/errors
Fix several build warnings (struct != class, int != size_t) and errors
(variable leng non-POD arrays).
Change-Id: I70b4e784365514303d8954bfcb1f39d7c22c1321
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 7814a01ad929..a679552aa757 100644 --- a/libs/hwui/Program.cpp +++ b/libs/hwui/Program.cpp @@ -173,7 +173,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(Vertex::gGeometryFudgeFactor, Vertex::gGeometryFudgeFactor); + p.translate(Vertex::GeometryFudgeFactor(), Vertex::GeometryFudgeFactor()); glUniformMatrix4fv(projection, 1, GL_FALSE, &p.data[0]); } mProjection = projectionMatrix; |