From bacd9d1739da02bf67a522820ea6c580dc96c39c Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Fri, 30 Jan 2004 11:16:12 +0000 Subject: Fix extract_3f_xyw(). --- src/mesa/tnl/t_vertex.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/tnl/t_vertex.c') diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c index 8f41c78874..87931aae62 100644 --- a/src/mesa/tnl/t_vertex.c +++ b/src/mesa/tnl/t_vertex.c @@ -484,8 +484,8 @@ static void extract_3f_xyw( const struct tnl_clipspace_attr *a, GLfloat *out, co out[0] = in[0]; out[1] = in[1]; - out[2] = in[3]; - out[3] = 1; + out[2] = 0; + out[3] = in[2]; } -- cgit v1.2.3