Fix typo inside C3D_TexInitWithParams()

This commit is contained in:
fincs 2017-05-27 13:01:50 +02:00
parent 2062eff21d
commit 145cea4e89

View File

@ -67,7 +67,7 @@ bool C3D_TexInitWithParams(C3D_Tex* tex, C3D_TexCube* cube, C3D_TexInitParams p)
u32 size = fmtSize(p.format);
if (!size) return false;
size *= (u32)p.width * p.height / 8;
u32 total_size = C3D_TexCalcLevelSize(size, p.maxLevel);
u32 total_size = C3D_TexCalcTotalSize(size, p.maxLevel);
if (!isCube)
{