summaryrefslogtreecommitdiff
path: root/src/mesa/main/clip.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-09-15 18:02:49 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-09-15 18:02:49 +0000
commitfde5e2c5f182759aff78bdd12e6c928f3f13bbdc (patch)
tree950881e6db4ba7f6676f3ce7e4dcd996c419555f /src/mesa/main/clip.c
parent1f20952a92aa8b8fe000222a9c71086df8fc63d8 (diff)
more warning fixes (Karl Schultz)
Diffstat (limited to 'src/mesa/main/clip.c')
-rw-r--r--src/mesa/main/clip.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/mesa/main/clip.c b/src/mesa/main/clip.c
index 026d3e5695..f18b0b4239 100644
--- a/src/mesa/main/clip.c
+++ b/src/mesa/main/clip.c
@@ -1,4 +1,4 @@
-/* $Id: clip.c,v 1.22 2001/03/12 00:48:37 gareth Exp $ */
+/* $Id: clip.c,v 1.23 2001/09/15 18:02:49 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -41,9 +41,6 @@
-
-
-
/**********************************************************************/
/* Get/Set User clip-planes. */
/**********************************************************************/
@@ -64,10 +61,10 @@ _mesa_ClipPlane( GLenum plane, const GLdouble *eq )
return;
}
- equation[0] = eq[0];
- equation[1] = eq[1];
- equation[2] = eq[2];
- equation[3] = eq[3];
+ equation[0] = (GLfloat) eq[0];
+ equation[1] = (GLfloat) eq[1];
+ equation[2] = (GLfloat) eq[2];
+ equation[3] = (GLfloat) eq[3];
/*
* The equation is transformed by the transpose of the inverse of the