summaryrefslogtreecommitdiff
path: root/src/code/code_800AD920.c
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2022-07-30 22:49:10 +0100
committerGitHub <noreply@github.com>2022-07-30 17:49:10 -0400
commit455321d2e85af40e5e0d14370dc10593618f3ce2 (patch)
treeb59be0bd805246e01aa903c3df81b5b382512685 /src/code/code_800AD920.c
parentafbc312024100187fa1169ca32723acd338ea85a (diff)
Fix various small gfx issues (#1313)
* Fix various small gfx issues * Use 0xFFFF instead of -1 for max prim depth * More fixed point numbers * scale -> texCoordScale, better cycle 2 render mode in z_title * GFXP_CHAR_* defines renamed to SPACING * Fix some gDPLoadMultiBlock uses
Diffstat (limited to 'src/code/code_800AD920.c')
-rw-r--r--src/code/code_800AD920.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/code/code_800AD920.c b/src/code/code_800AD920.c
index 2f60901a1..3bc30b1c5 100644
--- a/src/code/code_800AD920.c
+++ b/src/code/code_800AD920.c
@@ -50,8 +50,8 @@ void func_800AD958(struct_80166500* this, Gfx** gfxp) {
gDPLoadTextureBlock(gfx++, tex, fmt, G_IM_SIZ_16b, SCREEN_WIDTH, height, 0, G_TX_NOMIRROR | G_TX_CLAMP,
G_TX_NOMIRROR | G_TX_CLAMP, G_TX_NOMASK, G_TX_NOMASK, G_TX_NOLOD, G_TX_NOLOD);
- gSPTextureRectangle(gfx++, 0, (y) << 2, (SCREEN_WIDTH << 2), (y + height) << 2, G_TX_RENDERTILE, 0, 0,
- (1 << 10), (1 << 10));
+ gSPTextureRectangle(gfx++, 0, y << 2, SCREEN_WIDTH << 2, (y + height) << 2, G_TX_RENDERTILE, 0, 0, 1 << 10,
+ 1 << 10);
tex += SCREEN_WIDTH * height;
}