diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-07-19 21:00:06 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-07-19 21:00:06 +0000 |
commit | 1ec0bef98efdd65f1070bb24db55faa0b36d8e8b (patch) | |
tree | c5cf954d301bcce9039812ccd85b2cc6468f4a81 | |
parent | 4105daf0b12369a62321ce2718984bdd24d135b2 (diff) |
initialize GenBit[STRQ] in init_texture_unit()
-rw-r--r-- | src/mesa/main/context.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 1b55936bb5..6f85609d4b 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -1,4 +1,4 @@ -/* $Id: context.c,v 1.18.2.13 2000/07/12 12:02:33 keithw Exp $ */ +/* $Id: context.c,v 1.18.2.14 2000/07/19 21:00:06 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -503,6 +503,11 @@ static void init_texture_unit( GLcontext *ctx, GLuint unit ) texUnit->GenModeT = GL_EYE_LINEAR; texUnit->GenModeR = GL_EYE_LINEAR; texUnit->GenModeQ = GL_EYE_LINEAR; + texUnit->GenBitS = TEXGEN_EYE_LINEAR; + texUnit->GenBitT = TEXGEN_EYE_LINEAR; + texUnit->GenBitR = TEXGEN_EYE_LINEAR; + texUnit->GenBitQ = TEXGEN_EYE_LINEAR; + /* Yes, these plane coefficients are correct! */ ASSIGN_4V( texUnit->ObjectPlaneS, 1.0, 0.0, 0.0, 0.0 ); ASSIGN_4V( texUnit->ObjectPlaneT, 0.0, 1.0, 0.0, 0.0 ); |