mirror of https://github.com/AxioDL/metaforce.git
CScriptWater: Mark SolidFilter as constexpr
Same behavior, minus runtime initializers.
This commit is contained in:
parent
dfa206eda9
commit
fa1e4f38df
|
@ -144,7 +144,7 @@ void CScriptWater::SetupGrid(bool recomputeClipping) {
|
|||
x2e8_28_recomputeClipping = recomputeClipping;
|
||||
}
|
||||
|
||||
static const CMaterialFilter SolidFilter = CMaterialFilter::MakeInclude({EMaterialTypes::Solid});
|
||||
constexpr CMaterialFilter SolidFilter = CMaterialFilter::MakeInclude({EMaterialTypes::Solid});
|
||||
|
||||
void CScriptWater::SetupGridClipping(CStateManager& mgr, int computeVerts) {
|
||||
if (x2e8_28_recomputeClipping) {
|
||||
|
|
Loading…
Reference in New Issue