From b5f284f7d66b1c9d13a9344202e5c3660ed76a74 Mon Sep 17 00:00:00 2001 From: Spoike Date: Wed, 1 Sep 2004 00:02:43 +0000 Subject: [PATCH] bye bye warning git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@97 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/gl/gl_rmain.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/gl/gl_rmain.c b/engine/gl/gl_rmain.c index 237ebd87d..2ae37bc44 100644 --- a/engine/gl/gl_rmain.c +++ b/engine/gl/gl_rmain.c @@ -965,7 +965,10 @@ void GLR_SetupFrame (void) void MYgluPerspective( GLdouble fovy, GLdouble aspect, GLdouble zNear, GLdouble zFar ) { +#if 1 //for the sake of the d3d... +#else GLfloat matrix[16]; +#endif GLdouble xmin, xmax, ymin, ymax; ymax = zNear * tan( fovy * M_PI / 360.0 );