summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SetupUnit.h
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-09-03 21:43:19 -0700
committerPokechu22 <Pokechu022@gmail.com>2021-10-13 12:32:16 -0700
commit78bfd25964206a1f0a34170fdd90ca1a8ce242db (patch)
tree93aeabec56ac75e8d88baeb6f78e27840d09dead /Source/Core/VideoBackends/Software/SetupUnit.h
parent525e6b21943b09172043797535db6a2890c45805 (diff)
Fix all uninitialized variable warnings (C26495)
Diffstat (limited to 'Source/Core/VideoBackends/Software/SetupUnit.h')
-rw-r--r--Source/Core/VideoBackends/Software/SetupUnit.h8
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();