diff options
| author | Tharo <17233964+Thar0@users.noreply.github.com> | 2023-09-16 22:16:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-16 17:16:58 -0400 |
| commit | 9b207c356a66aec59815cbbd557f40d48d7cccdd (patch) | |
| tree | c21d897790081774101831ac610682317ef5a149 /src/code/graph.c | |
| parent | 239a172114b891fffe7af21777dc5313f0de9441 (diff) | |
Document Framebuffer Filters, VisCvg and VisZbuf (#1534)
* Document z_viscvg and z_viszbuf
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
* Few more notes
* Some more notes
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* Review
* Americanisation, FB RGB
* Oops
* Review
* Minor documentation modifications
* Header, base struct and enums
Co-authored-by: Tharo <17233964+Thar0@users.noreply.github.com>
* functions.h fix
* Suggested changes, further adjustments to file doc comments
* Further suggested changes, standardize capitalization of gfxP
* g
---------
Co-authored-by: Elliptic Ellipsis <elliptic.ellipsis@gmail.com>
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
Diffstat (limited to 'src/code/graph.c')
| -rw-r--r-- | src/code/graph.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/code/graph.c b/src/code/graph.c index 3d53f891c..fd79efac5 100644 --- a/src/code/graph.c +++ b/src/code/graph.c @@ -513,17 +513,17 @@ Gfx* Graph_BranchDlist(Gfx* gfx, Gfx* dst) { return dst; } -void* Graph_DlistAlloc(Gfx** gfx, u32 size) { +void* Graph_DlistAlloc(Gfx** gfxP, u32 size) { u8* ptr; Gfx* dst; size = ALIGN8(size); - ptr = (u8*)(*gfx + 1); + ptr = (u8*)(*gfxP + 1); dst = (Gfx*)(ptr + size); - gSPBranchList(*gfx, dst); + gSPBranchList(*gfxP, dst); - *gfx = dst; + *gfxP = dst; return ptr; } |
