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:
parent
4a69c4173d
commit
a947c1a3fe
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue