Permalink
Browse files

Fix GX_GetTexBufferSize maxLOD

  • Loading branch information...
marcan committed Nov 7, 2008
1 parent d0cc86d commit 089034ee8db015d559f6579b254b746978a580e6
Showing with 1 addition and 0 deletions.
  1. +1 −0 libogc/gx.c
View
@@ -2756,6 +2756,7 @@ u32 GX_GetTexBufferSize(u16 wd,u16 ht,u32 fmt,u8 mipmap,u8 maxlod)
else wd = 0x0001;
if(ht>0x0001) ht = (h>>1);
else ht = 0x0001;
+ --cnt;
}
return size;
}

0 comments on commit 089034e

Please sign in to comment.