1
0
Fork 0
forked from fte/fteqw

bye bye warning

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@97 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-09-01 00:02:43 +00:00
parent ade2b682c6
commit b5f284f7d6

View file

@ -965,7 +965,10 @@ void GLR_SetupFrame (void)
void MYgluPerspective( GLdouble fovy, GLdouble aspect, void MYgluPerspective( GLdouble fovy, GLdouble aspect,
GLdouble zNear, GLdouble zFar ) GLdouble zNear, GLdouble zFar )
{ {
#if 1 //for the sake of the d3d...
#else
GLfloat matrix[16]; GLfloat matrix[16];
#endif
GLdouble xmin, xmax, ymin, ymax; GLdouble xmin, xmax, ymin, ymax;
ymax = zNear * tan( fovy * M_PI / 360.0 ); ymax = zNear * tan( fovy * M_PI / 360.0 );