diff options
author | Brian Paul <[email protected]> | 2003-01-08 21:32:33 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-01-08 21:32:33 +0000 |
commit | e772bee10b036e8df0a4a0c44a416e02ae7b1545 (patch) | |
tree | 4dd1c55103cc9740f758c8ea4346cfb31b35a9e1 /src/mesa | |
parent | ff9ef3baed31b7b6bf1706aedf7f1127fcfb6a1d (diff) |
fix some float/ubyte mistakes (Daniel Borca)
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/glide/fxdd.c | 4 | ||||
-rw-r--r-- | src/mesa/drivers/glide/fxdrv.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/glide/fxdd.c b/src/mesa/drivers/glide/fxdd.c index 35dd6553b8a..fd099e7e115 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 ce72d7acfaa..c7e1b5aa7a4 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 */ |