mirror of https://github.com/AxioDL/metaforce.git
Fix WideScreenFilter crash
This commit is contained in:
parent
76f0b57340
commit
df75c00203
|
@ -34,7 +34,7 @@ static boo::ObjToken<boo::IShaderPipeline> SelectPipeline(EFilterType type) {
|
|||
case EFilterType::Multiply:
|
||||
return s_MultPipeline;
|
||||
default:
|
||||
return {};
|
||||
return s_AlphaPipeline;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1052,7 +1052,7 @@ CEntity* ScriptLoader::LoadCameraFilterKeyframe(CStateManager& mgr, CInputStream
|
|||
color.readRGBABig(in);
|
||||
float timeIn = in.readFloatBig();
|
||||
float timeOut = in.readFloatBig();
|
||||
CAssetId txtr = in.readUint32Big();
|
||||
CAssetId txtr(in);
|
||||
|
||||
return new CScriptCameraFilterKeyframe(mgr.AllocateUniqueId(), name, info, ftype, shape, filterIdx, unk, color,
|
||||
timeIn, timeOut, txtr, active);
|
||||
|
|
Loading…
Reference in New Issue