From 74a217fbcd8ea05dc97eda06eb0b46e35979579d Mon Sep 17 00:00:00 2001 From: Markus Amsler Date: Thu, 29 May 2008 02:11:59 +0200 Subject: [PATCH] r300: fix R300_FG_ALPHA_FUNC_VAL_MASK --- src/mesa/drivers/dri/r300/r300_reg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2