From 009501642533c7378fc4f061f1abe2ed4473a3f6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 21 Mar 2004 16:12:13 +0000 Subject: [PATCH] fix array index error in _swsetup_Translate (Felix) --- src/mesa/swrast_setup/ss_context.c | 4 ++-- 1 file 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]; -- 2.30.2