mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-02-05 16:01:04 +00:00
fix compiling for MSVC
This commit is contained in:
parent
6fd66bdb49
commit
78634679f1
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…
Reference in a new issue