Browse Source

fix texgen bug 597589

tags/R300_DRIVER_0
Brian Paul 23 years ago
parent
commit
a4e65d69dc
2 changed files with 3 additions and 2 deletions
  1. 1
    0
      docs/VERSIONS
  2. 2
    2
      src/mesa/tnl/t_vb_texgen.c

+ 1
- 0
docs/VERSIONS View File

@@ -1174,6 +1174,7 @@ Mesa Version History
- fixed glTexSubImage3D z-offset bug (Cedric Gautier)
- fixed RGBA blend enable bug (Ville Syrjala)
- glAccum is supposed to be a no-op in selection/feedback mode
- fixed texgen bug #597589 (John Popplewell)
Changes:
- dropped API trace feature (src/Trace/)
- documentation overhaul. merged with website content. more html.

+ 2
- 2
src/mesa/tnl/t_vb_texgen.c View File

@@ -550,9 +550,9 @@ static GLboolean run_validate_texgen_stage( GLcontext *ctx,
if (texUnit->TexGenEnabled) {
GLuint sz;

if (texUnit->TexGenEnabled & R_BIT)
if (texUnit->TexGenEnabled & Q_BIT)
sz = 4;
else if (texUnit->TexGenEnabled & Q_BIT)
else if (texUnit->TexGenEnabled & R_BIT)
sz = 3;
else if (texUnit->TexGenEnabled & T_BIT)
sz = 2;

Loading…
Cancel
Save