Re-enable fog on Banshee.

This commit is contained in:
SarahW 2020-08-15 14:38:31 +01:00
commit bb70f4ff0f
2 changed files with 2 additions and 8 deletions

View file

@ -1273,11 +1273,8 @@ static void voodoo_half_triangle(voodoo_t *voodoo, voodoo_params_t *params, vood
if (cca_invert_output)
src_a ^= 0xff;
if (voodoo->type != VOODOO_BANSHEE) /*HACK*/
{
if (params->fogMode & FOG_ENABLE)
APPLY_FOG(src_r, src_g, src_b, state->z, state->ia, state->w);
}
if (params->fogMode & FOG_ENABLE)
APPLY_FOG(src_r, src_g, src_b, state->z, state->ia, state->w);
if (params->alphaMode & 1)
ALPHA_TEST(src_a);