summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vertex_generic.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@tungstengraphics.com>2008-12-12 23:02:13 +0000
committerAlan Hourihane <alanh@tungstengraphics.com>2008-12-12 23:02:13 +0000
commit079116e6a487988c7f0411f60c652bb29d69b488 (patch)
treef6d9dc7cd406aab9e192287b349f0248654faf18 /src/mesa/tnl/t_vertex_generic.c
parenta725a8e27a16fc2b38741ad28e43982a55431e0e (diff)
parent8b69c42b356d51c3a37bc0af41738b016c2adc5b (diff)
Merge commit 'origin/master' into gallium-0.2
Diffstat (limited to 'src/mesa/tnl/t_vertex_generic.c')
-rw-r--r--src/mesa/tnl/t_vertex_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vertex_generic.c b/src/mesa/tnl/t_vertex_generic.c
index f763522f91..9812f8c808 100644
--- a/src/mesa/tnl/t_vertex_generic.c
+++ b/src/mesa/tnl/t_vertex_generic.c
@@ -113,7 +113,7 @@ static INLINE void insert_3f_viewport_2( const struct tnl_clipspace_attr *a, GLu
DEBUG_INSERT;
out[0] = vp[0] * in[0] + vp[12];
out[1] = vp[5] * in[1] + vp[13];
- out[2] = vp[10] * in[2] + vp[14];
+ out[2] = vp[14];
}
static INLINE void insert_3f_viewport_1( const struct tnl_clipspace_attr *a, GLubyte *v,