From: Markus Amsler Date: Thu, 29 May 2008 00:11:59 +0000 (+0200) Subject: r300: fix R300_FG_ALPHA_FUNC_VAL_MASK X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74a217fbcd8ea05dc97eda06eb0b46e35979579d;p=mesa.git r300: fix R300_FG_ALPHA_FUNC_VAL_MASK --- diff --git a/src/mesa/drivers/dri/r300/r300_reg.h b/src/mesa/drivers/dri/r300/r300_reg.h index acdd72b74b4..21e1dc29de7 100644 --- a/src/mesa/drivers/dri/r300/r300_reg.h +++ b/src/mesa/drivers/dri/r300/r300_reg.h @@ -1963,7 +1963,7 @@ USE OR OTHER DEALINGS IN THE SOFTWARE. /* Fog: Alpha function */ #define R300_FG_ALPHA_FUNC 0x4bd4 -# define R300_FG_ALPHA_FUNC_VAL_MASK 0x0000000f +# define R300_FG_ALPHA_FUNC_VAL_MASK 0x000000ff # define R300_FG_ALPHA_FUNC_NEVER (0 << 8) # define R300_FG_ALPHA_FUNC_LESS (1 << 8) # define R300_FG_ALPHA_FUNC_EQUAL (2 << 8)