diff options
Diffstat (limited to 'src/video_core/primitive_assembly.h')
| -rw-r--r-- | src/video_core/primitive_assembly.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/video_core/primitive_assembly.h b/src/video_core/primitive_assembly.h index 9396b4c85..2ad15a858 100644 --- a/src/video_core/primitive_assembly.h +++ b/src/video_core/primitive_assembly.h | |||
| @@ -14,11 +14,9 @@ namespace Pica { | |||
| 14 | * Utility class to build triangles from a series of vertices, | 14 | * Utility class to build triangles from a series of vertices, |
| 15 | * according to a given triangle topology. | 15 | * according to a given triangle topology. |
| 16 | */ | 16 | */ |
| 17 | template<typename VertexType> | 17 | template <typename VertexType> |
| 18 | struct PrimitiveAssembler { | 18 | struct PrimitiveAssembler { |
| 19 | using TriangleHandler = std::function<void(VertexType& v0, | 19 | using TriangleHandler = std::function<void(VertexType& v0, VertexType& v1, VertexType& v2)>; |
| 20 | VertexType& v1, | ||
| 21 | VertexType& v2)>; | ||
| 22 | 20 | ||
| 23 | PrimitiveAssembler(Regs::TriangleTopology topology = Regs::TriangleTopology::List); | 21 | PrimitiveAssembler(Regs::TriangleTopology topology = Regs::TriangleTopology::List); |
| 24 | 22 | ||
| @@ -48,5 +46,4 @@ private: | |||
| 48 | bool strip_ready = false; | 46 | bool strip_ready = false; |
| 49 | }; | 47 | }; |
| 50 | 48 | ||
| 51 | |||
| 52 | } // namespace | 49 | } // namespace |