summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/glide/fxdd.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2002-11-04 20:29:04 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2002-11-04 20:29:04 +0000
commit8115e29ddc2ea0407c3680bcc17c845f0db86332 (patch)
tree0089ad1c666166c42b2c8f0106b4cd34c71abf0d /src/mesa/drivers/glide/fxdd.c
parentdf45a985ed20a425c508a2a38a97f17bedd71eb5 (diff)
misc driver updates (Daniel Borca)
Diffstat (limited to 'src/mesa/drivers/glide/fxdd.c')
-rw-r--r--src/mesa/drivers/glide/fxdd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c
index fddd63e440..35dd6553b8 100644
--- a/src/mesa/drivers/glide/fxdd.c
+++ b/src/mesa/drivers/glide/fxdd.c
@@ -1,4 +1,4 @@
-/* $Id: fxdd.c,v 1.93 2002/10/29 15:03:16 brianp Exp $ */
+/* $Id: fxdd.c,v 1.94 2002/11/04 20:29:04 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -45,6 +45,7 @@
#include "fxdrv.h"
#include "enums.h"
#include "extensions.h"
+#include "mmath.h"
#include "texstore.h"
#include "swrast/swrast.h"
#include "swrast_setup/swrast_setup.h"
@@ -698,7 +699,7 @@ fxDDInitFxMesaContext(fxMesaContext fxMesa)
fxMesa->unitsState.alphaTestEnabled = GL_FALSE;
fxMesa->unitsState.alphaTestFunc = GR_CMP_ALWAYS;
- fxMesa->unitsState.alphaTestRefValue = 0;
+ fxMesa->unitsState.alphaTestRefValue = 0.0;
fxMesa->unitsState.blendEnabled = GL_FALSE;
fxMesa->unitsState.blendSrcFuncRGB = GR_BLEND_ONE;