mirror of
https://github.com/mwpenny/portal64-still-alive.git
synced 2024-11-27 06:10:38 +00:00
Fix projection matrix bug
This commit is contained in:
parent
d4a662e638
commit
927a977632
@ -327,7 +327,7 @@ void portalRenderScreenCover(struct Vector2s16* points, int pointCount, struct R
|
|||||||
|
|
||||||
gDPPipeSync(renderState->dl++);
|
gDPPipeSync(renderState->dl++);
|
||||||
gSPPopMatrix(renderState->dl++, G_MTX_MODELVIEW);
|
gSPPopMatrix(renderState->dl++, G_MTX_MODELVIEW);
|
||||||
gSPMatrix(renderState->dl++, props->cameraMatrixInfo.perspectiveNormalize, G_MTX_LOAD | G_MTX_PROJECTION | G_MTX_NOPUSH);
|
gSPMatrix(renderState->dl++, props->cameraMatrixInfo.projectionView, G_MTX_LOAD | G_MTX_PROJECTION | G_MTX_NOPUSH);
|
||||||
gDPSetDepthSource(renderState->dl++, G_ZS_PIXEL);
|
gDPSetDepthSource(renderState->dl++, G_ZS_PIXEL);
|
||||||
gDPSetRenderMode(renderState->dl++, G_RM_ZB_OPA_SURF, G_RM_ZB_OPA_SURF2);
|
gDPSetRenderMode(renderState->dl++, G_RM_ZB_OPA_SURF, G_RM_ZB_OPA_SURF2);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user