mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-04-10 19:15:14 +00:00
This commit is contained in:
parent
0327db246f
commit
8488f22ac5
|
@ -615,7 +615,7 @@ void CNew3D::RenderViewport(UINT32 addr, int pri)
|
||||||
vp->width = m_totalXRes;
|
vp->width = m_totalXRes;
|
||||||
vp->height = (GLint)((float)vpHeight*m_yRatio);
|
vp->height = (GLint)((float)vpHeight*m_yRatio);
|
||||||
|
|
||||||
vp->projectionMatrix.Perspective(fovYDegrees, (GLfloat)vp->width / (GLfloat)vp->height, 0.125f, 1000*128); // use actual full screen ratio to get proper X FOV
|
vp->projectionMatrix.Perspective(fovYDegrees, (GLfloat)vp->width / (GLfloat)vp->height, 0.1f, 1e5); // use actual full screen ratio to get proper X FOV
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue