mirror of https://github.com/AxioDL/metaforce.git
CTexturedQuadFilter: Mark DefaultRect as constexpr
Same behavior, minus runtime initializers.
This commit is contained in:
parent
3efc8486a4
commit
aee2259972
|
@ -322,7 +322,7 @@ void CTexturedQuadFilter::DrawFilter(EFilterShape shape, const zeus::CColor& col
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const zeus::CRectangle CTexturedQuadFilter::DefaultRect = {0.f, 0.f, 1.f, 1.f};
|
constexpr zeus::CRectangle CTexturedQuadFilter::DefaultRect{0.f, 0.f, 1.f, 1.f};
|
||||||
|
|
||||||
CTexturedQuadFilterAlpha::CTexturedQuadFilterAlpha(EFilterType type, const boo::ObjToken<boo::ITexture>& tex)
|
CTexturedQuadFilterAlpha::CTexturedQuadFilterAlpha(EFilterType type, const boo::ObjToken<boo::ITexture>& tex)
|
||||||
: CTexturedQuadFilter(tex) {
|
: CTexturedQuadFilter(tex) {
|
||||||
|
|
Loading…
Reference in New Issue