r300: fix R300_FG_ALPHA_FUNC_VAL_MASK
authorMarkus Amsler <markus.amsler@oribi.org>
Thu, 29 May 2008 00:11:59 +0000 (02:11 +0200)
committerMarkus Amsler <markus.amsler@oribi.org>
Thu, 29 May 2008 00:14:26 +0000 (02:14 +0200)
src/mesa/drivers/dri/r300/r300_reg.h

index acdd72b74b40fb261cfd2918706420c1e7bcf6b6..21e1dc29de784ac2fe9ec4dbd1150f6b09a9749e 100644 (file)
@@ -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)