From 99f16d01dd508ccac9d37488bf83a7aed5c05832 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 8 Nov 1999 15:28:08 +0000 Subject: changes to silence MSVC warnings --- src/mesa/main/rastpos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/main/rastpos.c') diff --git a/src/mesa/main/rastpos.c b/src/mesa/main/rastpos.c index 217cfc0ce5..eeca646f2f 100644 --- a/src/mesa/main/rastpos.c +++ b/src/mesa/main/rastpos.c @@ -1,4 +1,4 @@ -/* $Id: rastpos.c,v 1.2 1999/10/08 09:27:11 keithw Exp $ */ +/* $Id: rastpos.c,v 1.3 1999/11/08 15:28:08 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -107,7 +107,7 @@ void gl_RasterPos4f( GLcontext *ctx, } /* compute raster distance */ - ctx->Current.RasterDistance = + ctx->Current.RasterDistance = (GLfloat) GL_SQRT( eye[0]*eye[0] + eye[1]*eye[1] + eye[2]*eye[2] ); /* apply projection matrix: clip = Proj * eye */ -- cgit v1.2.3