mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-04 10:03:36 +00:00
Set gSP.clipRatio default value to 1 for all ucodes but Rej ones, where it is 2.
This commit is contained in:
parent
2c51fb096f
commit
0b8f10f9d6
|
@ -323,6 +323,7 @@ void GBIInfo::_makeCurrent(MicrocodeInfo * _pCurrent)
|
|||
GBI_SetGBI(G_RDPHALF_1, F3DBETA_RDPHALF_1, F3D_RDPHalf_1);
|
||||
GBI_SetGBI(G_RDPHALF_2, F3DBETA_RDPHALF_2, F3D_RDPHalf_2);
|
||||
}
|
||||
gSP.clipRatio = m_pCurrent->Rej ? 2U : 1U;
|
||||
} else if (m_pCurrent->NoN != _pCurrent->NoN) {
|
||||
if (_pCurrent->NoN)
|
||||
gfxContext.setClampMode(graphics::ClampMode::NoNearPlaneClipping);
|
||||
|
|
|
@ -223,7 +223,7 @@ void RSP_SetDefaultState()
|
|||
gSP.matrix.modelView[0][2][2] = 1.0f;
|
||||
gSP.matrix.modelView[0][3][3] = 1.0f;
|
||||
|
||||
gSP.clipRatio = 2U;
|
||||
gSP.clipRatio = 1U;
|
||||
|
||||
gDP.otherMode._u64 = 0U;
|
||||
gDP.otherMode.bi_lerp0 = gDP.otherMode.bi_lerp1 = 1;
|
||||
|
|
Loading…
Reference in New Issue
Block a user