From 7d448d911d862c06255873820aee32487fbc4943 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Sat, 2 Jan 2021 11:38:06 +0100 Subject: use C++ style structs everywhere --- src/GPU3D.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/GPU3D.h') diff --git a/src/GPU3D.h b/src/GPU3D.h index 69b67fa..62fe92c 100644 --- a/src/GPU3D.h +++ b/src/GPU3D.h @@ -25,7 +25,7 @@ namespace GPU3D { -typedef struct +struct Vertex { s32 Position[4]; s32 Color[3]; @@ -43,9 +43,9 @@ typedef struct // TODO maybe: hi-res color? (that survives clipping) s32 HiresPosition[2]; -} Vertex; +}; -typedef struct +struct Polygon { Vertex* Vertices[10]; u32 NumVertices; @@ -74,7 +74,7 @@ typedef struct u32 SortKey; -} Polygon; +}; extern u32 RenderDispCnt; extern u8 RenderAlphaRef; -- cgit v1.2.3