summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorMarkus Amsler <[email protected]>2008-05-29 02:11:59 +0200
committerMarkus Amsler <[email protected]>2008-05-29 02:14:26 +0200
commit74a217fbcd8ea05dc97eda06eb0b46e35979579d (patch)
treea446ec2a8d7abcec1cfa622d15b654dbe1b9d868 /src/mesa/drivers/dri
parent5adc76389825a7a073ae37e78b1771ee7e30e9a4 (diff)
r300: fix R300_FG_ALPHA_FUNC_VAL_MASK
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r300/r300_reg.h2
1 files changed, 1 insertions, 1 deletions
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)