mirror of
https://github.com/zeldaret/oot
synced 2026-06-02 10:10:28 -04: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:
+3
-3
@@ -15,10 +15,10 @@ void Sample_Draw(SampleContext* this) {
|
||||
u32 pad;
|
||||
GraphicsContext* gfxCtx = this->state.gfxCtx;
|
||||
View* view = &this->view;
|
||||
Gfx* gfxArr[4];
|
||||
Gfx* dispRefs[4];
|
||||
Mtx* mtx;
|
||||
|
||||
Graph_OpenDisp(gfxArr, gfxCtx, "../z_sample.c", 62);
|
||||
Graph_OpenDisps(dispRefs, gfxCtx, "../z_sample.c", 62);
|
||||
|
||||
gSPSegment(gfxCtx->polyOpa.p++, 0x00, NULL);
|
||||
gSPSegment(gfxCtx->polyOpa.p++, 0x01, this->staticSegment);
|
||||
@@ -41,7 +41,7 @@ void Sample_Draw(SampleContext* this) {
|
||||
PRIMITIVE);
|
||||
gDPSetPrimColor(gfxCtx->polyOpa.p++, 0, 0, 0xFF, 0xFF, 0x00, 0x00);
|
||||
|
||||
Graph_CloseDisp(gfxArr, gfxCtx, "../z_sample.c", 111);
|
||||
Graph_CloseDisps(dispRefs, gfxCtx, "../z_sample.c", 111);
|
||||
}
|
||||
#else
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/code/z_sample/Sample_Draw.s")
|
||||
|
||||
Reference in New Issue
Block a user