fix compiling for MSVC
This commit is contained in:
1 parent
6fd66bdb49
commit
78634679f1
1 file changed
+1
-1
@@ -602,7 +602,7 @@ static void GLPerspective(GLdouble fovy, GLdouble aspect)
|
||||
const GLdouble deltaZ = zFar - zNear;
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user