diff options
author | Brian Paul <[email protected]> | 2010-01-27 17:00:32 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-27 17:04:30 -0700 |
commit | 880411c72aee7c0ec81366bdf6ab8cf25bebb9d5 (patch) | |
tree | d5ad4af21a0e59bfee2ea3bec9b58ca9db130fd9 /src/mesa/swrast/s_span.c | |
parent | 4e5364d6fcd63b6f927ac4fb76effec0007d6797 (diff) |
swrast: silence double->float assignment warnings
Reported by Karl Schultz.
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r-- | src/mesa/swrast/s_span.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index 874a37b2241..905cf3d5501 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -645,7 +645,7 @@ interpolate_wpos(GLcontext *ctx, SWspan *span) { GLfloat (*wpos)[4] = span->array->attribs[FRAG_ATTRIB_WPOS]; GLuint i; - const GLfloat zScale = 1.0 / ctx->DrawBuffer->_DepthMaxF; + const GLfloat zScale = 1.0F / ctx->DrawBuffer->_DepthMaxF; GLfloat w, dw; if (span->arrayMask & SPAN_XY) { |