mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-20 12:59:12 +00:00
Initial CFont implementation, proper CTexture/CGraphicsPalette structures
This commit is contained in:
@@ -54,7 +54,7 @@ void CCubeMaterial::SetCurrent(const CModelFlags& flags, const CCubeSurface& sur
|
||||
materialDataCur += 8;
|
||||
for (u32 i = 0; i < texCount; ++i) {
|
||||
u32 texIdx = SBig(*reinterpret_cast<const u32*>(materialDataCur));
|
||||
sRenderingModel->GetTexture(texIdx)->Load(i, CTexture::EClampMode::One);
|
||||
sRenderingModel->GetTexture(texIdx)->Load(i, CTexture::EClampMode::Repeat);
|
||||
materialDataCur += 4;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user