diff options
author | Brian Paul <[email protected]> | 2004-03-21 16:12:13 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-03-21 16:12:13 +0000 |
commit | 009501642533c7378fc4f061f1abe2ed4473a3f6 (patch) | |
tree | c27853fbcc485e1b02749bdf9f00a1471616e0d0 /src/mesa/swrast_setup | |
parent | 7ab89a977037efdfa4cf3a44234a8a72a04a59c5 (diff) |
fix array index error in _swsetup_Translate (Felix)
Diffstat (limited to 'src/mesa/swrast_setup')
-rw-r--r-- | src/mesa/swrast_setup/ss_context.c | 4 |
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 cc30d5a93f5..c63646ca977 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]; |