mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
fog really needs W
This commit is contained in:
parent
b1f709cc88
commit
554321af7b
1 changed files with 2 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue