diff options
author | Daniel Borca <[email protected]> | 2004-08-30 08:40:05 +0000 |
---|---|---|
committer | Daniel Borca <[email protected]> | 2004-08-30 08:40:05 +0000 |
commit | 554321af7b6b33fe0e6e6578a6444362110d891d (patch) | |
tree | ec1dd3364ba425129d509f507a2836f01897a9a6 /src/mesa/drivers/dri/tdfx | |
parent | b1f709cc881138d8aef06381edb0fde927f69307 (diff) |
fog really needs W
Diffstat (limited to 'src/mesa/drivers/dri/tdfx')
-rw-r--r-- | src/mesa/drivers/dri/tdfx/tdfx_vb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/tdfx/tdfx_vb.c b/src/mesa/drivers/dri/tdfx/tdfx_vb.c index aff90cab73b..04c49542346 100644 --- a/src/mesa/drivers/dri/tdfx/tdfx_vb.c +++ b/src/mesa/drivers/dri/tdfx/tdfx_vb.c @@ -300,6 +300,8 @@ void tdfxChooseVertexState( GLcontext *ctx ) } else if (ctx->Texture._EnabledUnits & 0x1) { /* unit 0 enabled */ ind |= TDFX_W_BIT|TDFX_TEX0_BIT; + } else if (fxMesa->Fog.Mode != GR_FOG_DISABLE) { + ind |= TDFX_W_BIT; } if (fxMesa->Fog.Mode == GR_FOG_WITH_TABLE_ON_FOGCOORD_EXT) { |