diff options
author | Keith Whitwell <[email protected]> | 2004-01-30 11:16:12 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2004-01-30 11:16:12 +0000 |
commit | bacd9d1739da02bf67a522820ea6c580dc96c39c (patch) | |
tree | 7e99ff13c15972cd358c343d8c9a8c8e8a576b81 /src/mesa/tnl | |
parent | 229d6a9624c9da4365ca3c7a54e8d0d0b9ca276b (diff) |
Fix extract_3f_xyw().
Diffstat (limited to 'src/mesa/tnl')
-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 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]; } |