diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2004-01-30 11:15:30 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2004-01-30 11:15:30 +0000 |
commit | 0f518a56b4423980b9257cfb3a4314b65633004f (patch) | |
tree | 7e99ff13c15972cd358c343d8c9a8c8e8a576b81 | |
parent | 229d6a9624c9da4365ca3c7a54e8d0d0b9ca276b (diff) |
Fix extract_3f_xyw().
-rw-r--r-- | src/mesa/tnl/t_vertex.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]; } |