From 8115e29ddc2ea0407c3680bcc17c845f0db86332 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 4 Nov 2002 20:29:04 +0000 Subject: misc driver updates (Daniel Borca) --- src/mesa/drivers/glide/fxdd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/glide/fxdd.c') 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; -- cgit v1.2.3