mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
fix compiling for MSVC
This commit is contained in:
parent
261e1e623c
commit
386f9d4e54
1 changed files with 1 additions and 1 deletions
|
|
@ -602,7 +602,7 @@ static void GLPerspective(GLdouble fovy, GLdouble aspect)
|
||||||
const GLdouble deltaZ = zFar - zNear;
|
const GLdouble deltaZ = zFar - zNear;
|
||||||
GLdouble cotangent;
|
GLdouble cotangent;
|
||||||
|
|
||||||
if ((fabsf(deltaZ) < 1.0E-36f) || fpclassify(sine) == FP_ZERO || fpclassify(aspect) == FP_ZERO)
|
if ((fabsf((float)deltaZ) < 1.0E-36f) || fpclassify(sine) == FP_ZERO || fpclassify(aspect) == FP_ZERO)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue