diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2023-05-26 20:54:30 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-27 10:54:30 +1000 |
| commit | 74d881e92168b467fced28c47c3d8de17bf32d38 (patch) | |
| tree | e2d0901e969e229e6f2b2e79096aad8607be810a /src/code/z_room.c | |
| parent | c84eab6efbb10651ef99b8850588df48ed1e1559 (diff) | |
`gfx.h` (#1248)
* gfx.h
* move rcp functions and variables to gfx.h
* minor cleanup
* Update include/gfx.h
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
* format
---------
Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
Diffstat (limited to 'src/code/z_room.c')
| -rw-r--r-- | src/code/z_room.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/z_room.c b/src/code/z_room.c index da221ccd4..9fb21dfa2 100644 --- a/src/code/z_room.c +++ b/src/code/z_room.c @@ -18,7 +18,7 @@ void Room_DrawNormal(PlayState* play, Room* room, u32 flags) { if (flags & ROOM_DRAW_OPA) { func_800BCBF4(&sZeroVec, play); gSPSegment(POLY_OPA_DISP++, 0x03, room->segment); - func_8012C268(play); + func_8012C268(&play->state); gSPMatrix(POLY_OPA_DISP++, &gIdentityMtx, G_MTX_MODELVIEW | G_MTX_LOAD); } @@ -85,7 +85,7 @@ void Room_DrawCullable(PlayState* play, Room* room, u32 flags) { if (play->roomCtx.unk74 != NULL) { gSPSegment(POLY_OPA_DISP++, 0x06, play->roomCtx.unk74); } - func_8012C268(play); + func_8012C268(&play->state); gSPMatrix(POLY_OPA_DISP++, &gIdentityMtx, G_MTX_MODELVIEW | G_MTX_LOAD); } |
