CTexturedQuadFilter: Mark DefaultRect as constexpr

Same behavior, minus runtime initializers.
This commit is contained in:
Lioncash 2020-04-12 10:40:34 -04:00
parent 3efc8486a4
commit aee2259972
1 changed files with 1 additions and 1 deletions

View File

@ -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)
: CTexturedQuadFilter(tex) {