r500: Use 8bit fog alpha compare value.

This fixes transparency issues on r500 by enabling
backwards compatibility with the r300 alpha compare value.
This commit is contained in:
Markus Amsler 2008-05-31 03:10:21 +02:00
parent 4a69c4173d
commit a947c1a3fe
1 changed files with 1 additions and 0 deletions

View File

@ -479,6 +479,7 @@ static void r300SetAlphaState(GLcontext * ctx)
if (really_enabled) {
pp_misc |= R300_FG_ALPHA_FUNC_ENABLE;
pp_misc |= R500_FG_ALPHA_FUNC_8BIT;
pp_misc |= (refByte & R300_FG_ALPHA_FUNC_VAL_MASK);
} else {
pp_misc = 0x0;