mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-10 13:47:46 +00:00
CCameraFilter: Always initialize m_shape
Provides a deterministic initial state and prevents any potential uninitialized reads.
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user