diff options
author | Matt Turner <[email protected]> | 2014-06-14 22:38:18 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-06-17 10:18:11 -0700 |
commit | d2458a471094dce70cfa0dc587d762d79c337705 (patch) | |
tree | f0cc55678e72f87b33b58110c8adb2c969a9a055 /src/mesa | |
parent | db650d9ec161cadb56ebdd6aba3b0115ef02bd80 (diff) |
swrast: Remove unused solve_plane_recip().
Unused since commit 9e8a961d.
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/swrast/s_aatriangle.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/swrast/s_aatriangle.c b/src/mesa/swrast/s_aatriangle.c index d670d315442..21928274894 100644 --- a/src/mesa/swrast/s_aatriangle.c +++ b/src/mesa/swrast/s_aatriangle.c @@ -112,20 +112,6 @@ solve_plane(GLfloat x, GLfloat y, const GLfloat plane[4]) /* - * Return 1 / solve_plane(). - */ -static inline GLfloat -solve_plane_recip(GLfloat x, GLfloat y, const GLfloat plane[4]) -{ - const GLfloat denom = plane[3] + plane[0] * x + plane[1] * y; - if (denom == 0.0F) - return 0.0F; - else - return -plane[2] / denom; -} - - -/* * Solve plane and return clamped GLchan value. */ static inline GLchan |