diff options
Diffstat (limited to 'Source/Core/VideoBackends/Software/SetupUnit.h')
| -rw-r--r-- | Source/Core/VideoBackends/Software/SetupUnit.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Software/SetupUnit.h b/Source/Core/VideoBackends/Software/SetupUnit.h index a9f9584e07..e454c73ff3 100644 --- a/Source/Core/VideoBackends/Software/SetupUnit.h +++ b/Source/Core/VideoBackends/Software/SetupUnit.h @@ -6,9 +6,14 @@ #include "Common/CommonTypes.h" #include "VideoBackends/Software/NativeVertexFormat.h" +namespace OpcodeDecoder +{ +enum class Primitive : u8; +} + class SetupUnit { - u8 m_PrimType = 0; + OpcodeDecoder::Primitive m_PrimType{}; int m_VertexCounter = 0; OutputVertexData m_Vertices[3]; @@ -24,7 +29,7 @@ class SetupUnit void SetupPoint(); public: - void Init(u8 primitiveType); + void Init(OpcodeDecoder::Primitive primitive_type); OutputVertexData* GetVertex(); |
