diff options
| author | Léo Lam <leo@leolam.fr> | 2021-10-13 21:52:22 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-13 21:52:22 +0200 |
| commit | 023eb0b7029eb3633ce9eeb039c11d835ea7fd74 (patch) | |
| tree | 93aeabec56ac75e8d88baeb6f78e27840d09dead /Source/Core/VideoBackends/Software/SetupUnit.h | |
| parent | a0a91ec4b86b16624b2da7000a0f54852cd33872 (diff) | |
| parent | 78bfd25964206a1f0a34170fdd90ca1a8ce242db (diff) | |
Merge pull request #10085 from Pokechu22/C26495
Fix all uninitialized variable warnings (C26495)
Diffstat (limited to 'Source/Core/VideoBackends/Software/SetupUnit.h')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SetupUnit.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/VideoBackends/Software/SetupUnit.h b/Source/Core/VideoBackends/Software/SetupUnit.h index 3bab4257e6..a9f9584e07 100644 --- a/Source/Core/VideoBackends/Software/SetupUnit.h +++ b/Source/Core/VideoBackends/Software/SetupUnit.h @@ -8,12 +8,12 @@ class SetupUnit { - u8 m_PrimType; - int m_VertexCounter; + u8 m_PrimType = 0; + int m_VertexCounter = 0; OutputVertexData m_Vertices[3]; - OutputVertexData* m_VertPointer[3]; - OutputVertexData* m_VertWritePointer; + OutputVertexData* m_VertPointer[3]{}; + OutputVertexData* m_VertWritePointer{}; void SetupQuad(); void SetupTriangle(); |
