summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-03-21 16:12:13 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-03-21 16:12:13 +0000
commit009501642533c7378fc4f061f1abe2ed4473a3f6 (patch)
treec27853fbcc485e1b02749bdf9f00a1471616e0d0 /src
parent7ab89a977037efdfa4cf3a44234a8a72a04a59c5 (diff)
fix array index error in _swsetup_Translate (Felix)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/swrast_setup/ss_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast_setup/ss_context.c b/src/mesa/swrast_setup/ss_context.c
index cc30d5a93f..c63646ca97 100644
--- a/src/mesa/swrast_setup/ss_context.c
+++ b/src/mesa/swrast_setup/ss_context.c
@@ -1,6 +1,6 @@
/*
* Mesa 3-D graphics library
- * Version: 6.0.1
+ * Version: 6.1
*
* Copyright (C) 1999-2004 Brian Paul All Rights Reserved.
*
@@ -225,7 +225,7 @@ _swsetup_Translate( GLcontext *ctx, const void *vertex, SWvertex *dest )
dest->win[0] = m[0] * tmp[0] + m[12];
dest->win[1] = m[5] * tmp[1] + m[13];
- dest->win[2] = m[10] * tmp[2] + m[15];
+ dest->win[2] = m[10] * tmp[2] + m[14];
dest->win[3] = tmp[3];