warning fixes (Karl Schultz)
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 17 Oct 2001 23:03:34 +0000 (23:03 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 17 Oct 2001 23:03:34 +0000 (23:03 +0000)
src/mesa/swrast/s_texture.c

index fcbbe73a7a4e8cdd5d2c8be319013e8e7674a99b..244022592336f82945bdd1a61369ef1f29559891 100644 (file)
@@ -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);                                                  \
       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)                                                     \