mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-09 00:00:44 +00:00
Fixes in PR #50 (3)
- Rename Graph_OpenDisp/Graph_CloseDisp to Graph_OpenDisps/Graph_CloseDisps - Rename gfxArr to dispRefs
This commit is contained in:
parent
62c6549eec
commit
43acba22a9
667 changed files with 1928 additions and 1928 deletions
|
@ -122,18 +122,18 @@ static void func_808C0EEC(BgZg* this, GlobalContext* globalCtx) {
|
|||
|
||||
GraphicsContext* gfxCtx;
|
||||
GraphicsContext* tempgfxCtx; // oddly needs this to match
|
||||
Gfx* gfxArr[4];
|
||||
Gfx* dispRefs[4];
|
||||
|
||||
tempgfxCtx = globalCtx->state.gfxCtx;
|
||||
gfxCtx = tempgfxCtx;
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_bg_zg.c", 311);
|
||||
Graph_OpenDisps(dispRefs, gfxCtx, "../z_bg_zg.c", 311);
|
||||
|
||||
func_80093D18(gfxCtx);
|
||||
gSPMatrix(gfxCtx->polyOpa.p++, Matrix_NewMtx(gfxCtx, "../z_bg_zg.c", 315),
|
||||
G_MTX_NOPUSH | G_MTX_LOAD | G_MTX_MODELVIEW);
|
||||
|
||||
gSPDisplayList(gfxCtx->polyOpa.p++, &D_06001080);
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_bg_zg.c", 320);
|
||||
Graph_CloseDisps(dispRefs, gfxCtx, "../z_bg_zg.c", 320);
|
||||
}
|
||||
|
||||
static void BgZg_Draw(BgZg* this, GlobalContext* globalCtx) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue