diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-22 15:49:36 -0600 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2008-08-22 15:49:36 -0600 |
commit | 120270def74149b240926f827b80ca073536d462 (patch) | |
tree | d6cbc5f68104005f9227d739d99482aab98a3fee /src/gallium/auxiliary/draw/draw_pipe_offset.c | |
parent | 1a46dcc8a927dfb38ca1381e7b3dafb789f8257c (diff) |
gallium: stop using FABSF() macro
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_offset.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pipe_offset.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pipe_offset.c b/src/gallium/auxiliary/draw/draw_pipe_offset.c index 8f1650e55c..2f5865741c 100644 --- a/src/gallium/auxiliary/draw/draw_pipe_offset.c +++ b/src/gallium/auxiliary/draw/draw_pipe_offset.c @@ -84,8 +84,8 @@ static void do_offset_tri( struct draw_stage *stage, float a = ey*fz - ez*fy; float b = ez*fx - ex*fz; - float dzdx = FABSF(a * inv_det); - float dzdy = FABSF(b * inv_det); + float dzdx = fabsf(a * inv_det); + float dzdy = fabsf(b * inv_det); float zoffset = offset->units + MAX2(dzdx, dzdy) * offset->scale; |