diff options
author | 2017-11-03 16:19:17 +0000 | |
---|---|---|
committer | 2017-11-03 16:19:17 +0000 | |
commit | bf09a05eb2be41a75f5b1a8681529c4c8dd89fbe (patch) | |
tree | bd2bb92142d12dce474a072ea26e94343053615e /opengl/libagl/matrix.cpp | |
parent | 7deee85b3450c0fa0c712300cf35edce61d108ba (diff) | |
parent | b60bde6ffc8c1129e3d6063cb5a362925ed6b834 (diff) |
Merge "Use -Werror in frameworks/native/opengl/libagl" am: d4f0d3a4d2 am: fe805e8913
am: b60bde6ffc
Change-Id: Id1bc17bb6a0bf14209eef1b0b4434057d2e505c5
Diffstat (limited to 'opengl/libagl/matrix.cpp')
-rw-r--r-- | opengl/libagl/matrix.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/opengl/libagl/matrix.cpp b/opengl/libagl/matrix.cpp index 034c857fa7..edd474d30c 100644 --- a/opengl/libagl/matrix.cpp +++ b/opengl/libagl/matrix.cpp @@ -51,7 +51,6 @@ static const matrixx_t gIdentityx = { static void point2__nop(transform_t const*, vec4_t* c, vec4_t const* o); static void point3__nop(transform_t const*, vec4_t* c, vec4_t const* o); static void point4__nop(transform_t const*, vec4_t* c, vec4_t const* o); -static void normal__nop(transform_t const*, vec4_t* c, vec4_t const* o); static void point2__generic(transform_t const*, vec4_t* c, vec4_t const* o); static void point3__generic(transform_t const*, vec4_t* c, vec4_t const* o); static void point4__generic(transform_t const*, vec4_t* c, vec4_t const* o); @@ -524,16 +523,6 @@ void transform_state_t::update_mvp() } } -static inline -GLfloat det22(GLfloat a, GLfloat b, GLfloat c, GLfloat d) { - return a*d - b*c; -} - -static inline -GLfloat ndet22(GLfloat a, GLfloat b, GLfloat c, GLfloat d) { - return b*c - a*d; -} - static __attribute__((noinline)) void invert(GLfloat* inverse, const GLfloat* src) { |