From: Keith Whitwell Date: Fri, 30 Jan 2004 11:16:12 +0000 (+0000) Subject: Fix extract_3f_xyw(). X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bacd9d1739da02bf67a522820ea6c580dc96c39c;p=mesa.git Fix extract_3f_xyw(). --- diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c index 8f41c788746..87931aae62f 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]; }