2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 12:31:20 +00:00

CCameraFilter: Always initialize m_shape

Provides a deterministic initial state and prevents any potential
uninitialized reads.
This commit is contained in:
Lioncash 2020-04-07 12:36:40 -04:00
parent 5fe494f683
commit 18ad2595cf

View File

@ -73,7 +73,7 @@ public:
};
class CCameraFilterPassPoly {
EFilterShape m_shape;
EFilterShape m_shape{};
std::unique_ptr<CCameraFilterPassBase> m_filter;
public: