diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-03-31 16:48:35 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-03-31 16:48:35 +0000 |
commit | c765d446507b25f3531be3a116d1b5de598bb9ad (patch) | |
tree | 5abdbcd109eb04e962b5fdcb345ba31fb87d3b43 | |
parent | a376e339a5f7cb15de6c74556b1e1b219d84374a (diff) |
fixed bad texgen Q problem
-rw-r--r-- | src/mesa/tnl/t_vb_texgen.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_vb_texgen.c b/src/mesa/tnl/t_vb_texgen.c index f2454e6ffb..9a954bf485 100644 --- a/src/mesa/tnl/t_vb_texgen.c +++ b/src/mesa/tnl/t_vb_texgen.c @@ -1,4 +1,4 @@ -/* $Id: t_vb_texgen.c,v 1.18 2003/03/04 16:34:04 brianp Exp $ */ +/* $Id: t_vb_texgen.c,v 1.19 2003/03/31 16:48:35 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -367,7 +367,7 @@ static void texgen( GLcontext *ctx, GLuint count = VB->Count; GLfloat (*f)[3] = store->tmp_f; GLfloat *m = store->tmp_m; - GLuint holes = 0; + GLuint holes = 0; if (texUnit->_GenFlags & TEXGEN_NEED_M) { @@ -399,6 +399,7 @@ static void texgen( GLcontext *ctx, } if (holes) { + if (holes & VEC_DIRTY_3) _mesa_vector4f_clean_elem(out, count, 3); if (holes & VEC_DIRTY_2) _mesa_vector4f_clean_elem(out, count, 2); if (holes & VEC_DIRTY_1) _mesa_vector4f_clean_elem(out, count, 1); if (holes & VEC_DIRTY_0) _mesa_vector4f_clean_elem(out, count, 0); |