2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 12:27:43 +00:00

Additional processing condition checks

This commit is contained in:
Jack Andersen
2016-08-31 13:31:12 -10:00
parent 129767134e
commit dc0bb55390
4 changed files with 12 additions and 3 deletions

View File

@@ -461,6 +461,9 @@ void CBooModel::UpdateUniformData(const CModelFlags& flags,
const CSkinRules* cskr,
const CPoseAsTransforms* pose) const
{
if (!m_uniformBuffer)
return;
u8* dataOut = reinterpret_cast<u8*>(m_uniformBuffer->map(m_uniformDataSize));
u8* dataCur = dataOut;