projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
229d6a9
)
Fix extract_3f_xyw().
author
Keith Whitwell
<keith@tungstengraphics.com>
Fri, 30 Jan 2004 11:16:12 +0000
(11:16 +0000)
committer
Keith Whitwell
<keith@tungstengraphics.com>
Fri, 30 Jan 2004 11:16:12 +0000
(11:16 +0000)
src/mesa/tnl/t_vertex.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vertex.c
b/src/mesa/tnl/t_vertex.c
index 8f41c788746588dbde17ad9ac558f4ccc180f562..87931aae62fece49e050f940c503f6535594cf51 100644
(file)
--- 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]
;
}