From e5a4aa7c840e37a0de2bb5dce173449791b43220 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Tue, 28 Feb 2017 00:52:17 +0100 Subject: [PATCH] also keep track of texture attributes --- GPU3D.cpp | 3 +++ GPU3D.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/GPU3D.cpp b/GPU3D.cpp index d7438199..3c21cfa7 100644 --- a/GPU3D.cpp +++ b/GPU3D.cpp @@ -751,6 +751,9 @@ void SubmitPolygon() poly->NumVertices = 0; poly->Attr = CurPolygonAttr; + poly->TexParam = TexParam; + poly->TexPalette = TexPalette; + poly->FacingView = facingview; if (LastStripPolygon && clipstart > 0) diff --git a/GPU3D.h b/GPU3D.h index 939e3e9d..6f9d7d16 100644 --- a/GPU3D.h +++ b/GPU3D.h @@ -46,6 +46,8 @@ typedef struct u32 NumVertices; u32 Attr; + u32 TexParam; + u32 TexPalette; bool FacingView;