summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-01-08 21:32:33 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-01-08 21:32:33 +0000
commite772bee10b036e8df0a4a0c44a416e02ae7b1545 (patch)
tree4dd1c55103cc9740f758c8ea4346cfb31b35a9e1 /src/mesa
parentff9ef3baed31b7b6bf1706aedf7f1127fcfb6a1d (diff)
fix some float/ubyte mistakes (Daniel Borca)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/glide/fxdd.c4
-rw-r--r--src/mesa/drivers/glide/fxdrv.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c
index 35dd6553b8..fd099e7e11 100644
--- a/src/mesa/drivers/glide/fxdd.c
+++ b/src/mesa/drivers/glide/fxdd.c
@@ -1,4 +1,4 @@
-/* $Id: fxdd.c,v 1.94 2002/11/04 20:29:04 brianp Exp $ */
+/* $Id: fxdd.c,v 1.95 2003/01/08 21:32:36 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -142,7 +142,7 @@ fxDDClearColor(GLcontext * ctx, const GLfloat color[4])
CLAMPED_FLOAT_TO_UBYTE(col[3], color[3]);
fxMesa->clearC = FXCOLOR4(col);
- fxMesa->clearA = color[3];
+ fxMesa->clearA = col[3];
}
diff --git a/src/mesa/drivers/glide/fxdrv.h b/src/mesa/drivers/glide/fxdrv.h
index ce72d7acfa..c7e1b5aa7a 100644
--- a/src/mesa/drivers/glide/fxdrv.h
+++ b/src/mesa/drivers/glide/fxdrv.h
@@ -1,4 +1,4 @@
-/* $Id: fxdrv.h,v 1.55 2002/11/04 20:29:04 brianp Exp $ */
+/* $Id: fxdrv.h,v 1.56 2003/01/08 21:32:33 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -244,7 +244,7 @@ typedef struct
GLboolean alphaTestEnabled;
GrCmpFnc_t alphaTestFunc;
- GrAlpha_t alphaTestRefValue;
+ GLfloat alphaTestRefValue;
/* Blend function */