From 7c4268176eaaeb45003db4d5042a518b84c9f6dc Mon Sep 17 00:00:00 2001 From: Karl Schultz Date: Wed, 19 Sep 2001 20:30:44 +0000 Subject: silence compiler warnings (last batch for src) --- src/mesa/swrast/s_accum.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/swrast/s_accum.c') diff --git a/src/mesa/swrast/s_accum.c b/src/mesa/swrast/s_accum.c index 6d3e2feb6a..5b7936b210 100644 --- a/src/mesa/swrast/s_accum.c +++ b/src/mesa/swrast/s_accum.c @@ -1,4 +1,4 @@ -/* $Id: s_accum.c,v 1.12 2001/07/13 20:07:37 brianp Exp $ */ +/* $Id: s_accum.c,v 1.13 2001/09/19 20:30:44 kschultz Exp $ */ /* * Mesa 3-D graphics library @@ -108,7 +108,7 @@ static void rescale_accum( GLcontext *ctx ) { SWcontext *swrast = SWRAST_CONTEXT(ctx); const GLuint n = ctx->DrawBuffer->Width * ctx->DrawBuffer->Height * 4; - const GLfloat s = swrast->_IntegerAccumScaler * (32767.0 / CHAN_MAXF); + const GLfloat s = swrast->_IntegerAccumScaler * (32767.0F / CHAN_MAXF); GLaccum *accum = ctx->DrawBuffer->Accum; GLuint i; -- cgit v1.2.3