diff options
| author | engineer124 <47598039+engineer124@users.noreply.github.com> | 2024-10-23 11:51:00 +1100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-22 17:51:00 -0700 |
| commit | ec9b5839ade6b9ab5b9aa51260865ea7b894b496 (patch) | |
| tree | 604896076ead17ff59a48b4bafed00f705b3924b /src/code/z_lifemeter.c | |
| parent | 694d3b396558a4d9faa3f9d91354ab484d6affa9 (diff) | |
Cleanup gSPMatrix, rename `Matrix_New` -> `Matrix_Finalize`, add MATRIX_FINALIZE_AND_LOAD (#1729)
* mtx-finalize
* cleanup gSPMatrix
Diffstat (limited to 'src/code/z_lifemeter.c')
| -rw-r--r-- | src/code/z_lifemeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code/z_lifemeter.c b/src/code/z_lifemeter.c index 67e1e278a..91f5da046 100644 --- a/src/code/z_lifemeter.c +++ b/src/code/z_lifemeter.c @@ -388,7 +388,7 @@ void LifeMeter_Draw(PlayState* play) { mtx = GRAPH_ALLOC(gfxCtx, sizeof(Mtx)); Mtx_SetTranslateScaleMtx(mtx, 1.0f - (0.32f * lifesize), 1.0f - (0.32f * lifesize), 1.0f - (0.32f * lifesize), -130.0f + offsetX, 94.5f - offsetY, 0.0f); - gSPMatrix(OVERLAY_DISP++, mtx, G_MTX_LOAD | G_MTX_MODELVIEW); + gSPMatrix(OVERLAY_DISP++, mtx, G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW); gSPVertex(OVERLAY_DISP++, beatingHeartVtx, 4, 0); gSP1Quadrangle(OVERLAY_DISP++, 0, 2, 3, 1, 0); } |
