diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-01-28 00:14:32 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-01-28 00:14:32 +0000 |
commit | 02de45dcedc38b0e4ceacba440bfc11930ec90bb (patch) | |
tree | 9260a510d3a7f40570a927402836fa01338d58c2 /src | |
parent | f4418f4d1c6dfe06af760226c5303e653b25b879 (diff) | |
download | external_mesa3d-02de45dcedc38b0e4ceacba440bfc11930ec90bb.zip external_mesa3d-02de45dcedc38b0e4ceacba440bfc11930ec90bb.tar.gz external_mesa3d-02de45dcedc38b0e4ceacba440bfc11930ec90bb.tar.bz2 |
move ltor computation
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/swrast/s_aatritemp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_aatritemp.h b/src/mesa/swrast/s_aatritemp.h index 4b3d1a0..b5d82a6 100644 --- a/src/mesa/swrast/s_aatritemp.h +++ b/src/mesa/swrast/s_aatritemp.h @@ -1,4 +1,4 @@ -/* $Id: s_aatritemp.h,v 1.33 2003/01/20 15:20:27 brianp Exp $ */ +/* $Id: s_aatritemp.h,v 1.34 2003/01/28 00:14:32 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -124,10 +124,10 @@ const GLfloat botDx = vMid->win[0] - vMin->win[0]; const GLfloat botDy = vMid->win[1] - vMin->win[1]; const GLfloat area = majDx * botDy - botDx * majDy; - ltor = (GLboolean) (area < 0.0F); /* Do backface culling */ if (area * bf < 0 || area == 0 || IS_INF_OR_NAN(area)) return; + ltor = (GLboolean) (area < 0.0F); } #ifndef DO_OCCLUSION_TEST |