summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-06-13 14:53:52 +0000
committerBrian Paul <[email protected]>2001-06-13 14:53:52 +0000
commit1178ed817f835e2a9b1fdd33b32d39e2d6070cc8 (patch)
tree5d8cd3c23c5efc1a478f768aac69ec62f54f3b82 /src/mesa
parent688601911cf3f7a8718c59b7f18db99933432c08 (diff)
fixed a +/- typo in the Y coord setup
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_tritemp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_tritemp.h b/src/mesa/swrast/s_tritemp.h
index f1dc91bd967..d4ea4f1291b 100644
--- a/src/mesa/swrast/s_tritemp.h
+++ b/src/mesa/swrast/s_tritemp.h
@@ -1,4 +1,4 @@
-/* $Id: s_tritemp.h,v 1.18 2001/06/12 14:18:58 brianp Exp $ */
+/* $Id: s_tritemp.h,v 1.19 2001/06/13 14:53:52 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -108,9 +108,9 @@
* And find the order of the 3 vertices along the Y axis.
*/
{
- const GLfixed fy0 = FloatToFixed(v0->win[1] + 0.5F) & snapMask;
- const GLfixed fy1 = FloatToFixed(v1->win[1] + 0.5F) & snapMask;
- const GLfixed fy2 = FloatToFixed(v2->win[1] + 0.5F) & snapMask;
+ const GLfixed fy0 = FloatToFixed(v0->win[1] - 0.5F) & snapMask;
+ const GLfixed fy1 = FloatToFixed(v1->win[1] - 0.5F) & snapMask;
+ const GLfixed fy2 = FloatToFixed(v2->win[1] - 0.5F) & snapMask;
if (fy0 <= fy1) {
if (fy1 <= fy2) {