summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_accum.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-01-27 17:00:32 -0700
committerBrian Paul <brianp@vmware.com>2010-01-27 17:04:30 -0700
commit880411c72aee7c0ec81366bdf6ab8cf25bebb9d5 (patch)
treed5ad4af21a0e59bfee2ea3bec9b58ca9db130fd9 /src/mesa/swrast/s_accum.c
parent4e5364d6fcd63b6f927ac4fb76effec0007d6797 (diff)
swrast: silence double->float assignment warnings
Reported by Karl Schultz.
Diffstat (limited to 'src/mesa/swrast/s_accum.c')
-rw-r--r--src/mesa/swrast/s_accum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_accum.c b/src/mesa/swrast/s_accum.c
index cf53f01b7c..2dd9ca6348 100644
--- a/src/mesa/swrast/s_accum.c
+++ b/src/mesa/swrast/s_accum.c
@@ -37,7 +37,7 @@
/* XXX this would have to change for accum buffers with more or less
* than 16 bits per color channel.
*/
-#define ACCUM_SCALE16 32767.0
+#define ACCUM_SCALE16 32767.0F
/*