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:
parent
ade2b682c6
commit
b5f284f7d6
1 changed files with 3 additions and 0 deletions
|
@ -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 );
|
||||||
|
|
Loading…
Reference in a new issue