mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
HMDL support added
This commit is contained in:
@@ -1224,8 +1224,8 @@ HMDLMaterialSet::Material::Material(HECL::Frontend::Frontend& FE,
|
||||
continue;
|
||||
|
||||
std::vector<atVec4f> gameArgs;
|
||||
gameArgs.reserve(inst.getChildCount() - 1);
|
||||
for (int i=1 ; i<inst.getChildCount() ; ++i)
|
||||
gameArgs.reserve(sourceInst.getChildCount() - 1);
|
||||
for (int i=1 ; i<sourceInst.getChildCount() ; ++i)
|
||||
{
|
||||
const HECL::Frontend::IR::Instruction& ci = sourceInst.getChildInst(heclIr, i);
|
||||
gameArgs.push_back(ci.getImmVec());
|
||||
|
||||
Reference in New Issue
Block a user