diff options
author | Brian Paul <[email protected]> | 2001-10-17 23:03:34 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-10-17 23:03:34 +0000 |
commit | 40ba618a6f3167ebc00759761d0254e12362b677 (patch) | |
tree | 4ef7ede3fd4d71453938888aaf50c6c5e1ee6b78 /src/mesa/swrast/s_texture.c | |
parent | e8245c14096ad3b2fa7008fed578bfcc5c5dbfe3 (diff) |
warning fixes (Karl Schultz)
Diffstat (limited to 'src/mesa/swrast/s_texture.c')
-rw-r--r-- | src/mesa/swrast/s_texture.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_texture.c b/src/mesa/swrast/s_texture.c index fcbbe73a7a4..24402259233 100644 --- a/src/mesa/swrast/s_texture.c +++ b/src/mesa/swrast/s_texture.c @@ -1,4 +1,4 @@ -/* $Id: s_texture.c,v 1.40 2001/10/17 13:31:07 brianp Exp $ */ +/* $Id: s_texture.c,v 1.41 2001/10/17 23:03:34 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -95,7 +95,7 @@ else if (wrapMode == GL_MIRRORED_REPEAT_ARB) { \ const GLint flr = IFLOOR(S); \ if (flr & 1) \ - U = 1.0 - (S - (GLfloat) flr); /* flr is odd */ \ + U = 1.0F - (S - (GLfloat) flr); /* flr is odd */ \ else \ U = S - (GLfloat) flr; /* flr is even */ \ I0 = IFLOOR(U); \ @@ -161,7 +161,7 @@ const GLint flr = IFLOOR(S); \ GLfloat u; \ if (flr & 1) \ - u = 1.0 - (S - (GLfloat) flr); /* flr is odd */ \ + u = 1.0F - (S - (GLfloat) flr); /* flr is odd */ \ else \ u = S - (GLfloat) flr; /* flr is even */ \ if (u < min) \ |