diff options
author | Markus Amsler <[email protected]> | 2008-05-31 03:10:21 +0200 |
---|---|---|
committer | Markus Amsler <[email protected]> | 2008-05-31 03:10:21 +0200 |
commit | a947c1a3fe100dfc1ac519010673d1136f1dcd08 (patch) | |
tree | 9f4fc430b1383240316ca8c463c9f32040d31472 /src | |
parent | 4a69c4173d6bf120b5abbcb38072fa053918d393 (diff) |
r500: Use 8bit fog alpha compare value.
This fixes transparency issues on r500 by enabling
backwards compatibility with the r300 alpha compare value.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r300/r300_state.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_state.c b/src/mesa/drivers/dri/r300/r300_state.c index cb39ce01106..dc14759c081 100644 --- a/src/mesa/drivers/dri/r300/r300_state.c +++ b/src/mesa/drivers/dri/r300/r300_state.c @@ -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; |