mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix Visual Studio compiling
This commit is contained in:
parent
963cbf4671
commit
9518939a9d
1 changed files with 2 additions and 2 deletions
|
|
@ -1988,10 +1988,10 @@ EXPORT void HWRAPI(SetTransform) (FTransform *stransform)
|
||||||
if (special_splitscreen)
|
if (special_splitscreen)
|
||||||
{
|
{
|
||||||
used_fov = atan(tan(used_fov*M_PIl/360.0l)*0.8l)*360/M_PIl;
|
used_fov = atan(tan(used_fov*M_PIl/360.0l)*0.8l)*360/M_PIl;
|
||||||
GLPerspective(used_fov, 2*ASPECT_RATIO);
|
GLPerspective((GLfloat)used_fov, 2*ASPECT_RATIO);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
GLPerspective(used_fov, ASPECT_RATIO);
|
GLPerspective((GLfloat)used_fov, ASPECT_RATIO);
|
||||||
pglGetFloatv(GL_PROJECTION_MATRIX, projMatrix); // added for new coronas' code (without depth buffer)
|
pglGetFloatv(GL_PROJECTION_MATRIX, projMatrix); // added for new coronas' code (without depth buffer)
|
||||||
pglMatrixMode(GL_MODELVIEW);
|
pglMatrixMode(GL_MODELVIEW);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue