From 4a28548cbfa425edd8b8ad16c93869a9c612a42f Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 26 Apr 2007 07:46:38 -0600 Subject: use sqrt(), not sqrtf() for Windows --- progs/demos/arbfslight.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'progs/demos/arbfslight.c') diff --git a/progs/demos/arbfslight.c b/progs/demos/arbfslight.c index 374de568872..69575f06236 100644 --- a/progs/demos/arbfslight.c +++ b/progs/demos/arbfslight.c @@ -62,7 +62,7 @@ static PFNGLUNIFORM3FVARBPROC glUniform4fvARB = NULL; static void normalize (GLfloat *dst, const GLfloat *src) { - GLfloat len = sqrtf (src[0] * src[0] + src[1] * src[1] + src[2] * src[2]); + GLfloat len = sqrt (src[0] * src[0] + src[1] * src[1] + src[2] * src[2]); dst[0] = src[0] / len; dst[1] = src[1] / len; dst[2] = src[2] / len; -- cgit v1.2.3