forked from Ports/perfect_dark
Decompile texGetWidthAtLod
This commit is contained in:
1 parent
2c01a9a557
commit
defb651a7b
3 files changed
+30
-57
No files matched your search
+1
-1
@@ -529,7 +529,7 @@ void texSelect(Gfx **gdlptr, struct textureconfig *tconfig, u32 arg2, s32 arg3,
|
||||
|
||||
if (tile > 0) {
|
||||
if (s4 && s4->unk0c_02) {
|
||||
width = surface0f173c10(s4, tile);
|
||||
width = texGetWidthAtLod(s4, tile);
|
||||
height = surface0f173cb8(s4, tile);
|
||||
} else {
|
||||
if (width >= 2) {
|
||||
|
||||
Reference in new issue
Block a user