mirror of https://github.com/AxioDL/metaforce.git
CCameraFilter: Always initialize m_shape
Provides a deterministic initial state and prevents any potential uninitialized reads.
This commit is contained in:
parent
5fe494f683
commit
18ad2595cf
|
@ -73,7 +73,7 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
class CCameraFilterPassPoly {
|
class CCameraFilterPassPoly {
|
||||||
EFilterShape m_shape;
|
EFilterShape m_shape{};
|
||||||
std::unique_ptr<CCameraFilterPassBase> m_filter;
|
std::unique_ptr<CCameraFilterPassBase> m_filter;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue