diff options
author | StapleButter <thetotalworm@gmail.com> | 2017-02-28 00:52:17 +0100 |
---|---|---|
committer | StapleButter <thetotalworm@gmail.com> | 2017-02-28 00:52:17 +0100 |
commit | e5a4aa7c840e37a0de2bb5dce173449791b43220 (patch) | |
tree | 16bc974b4346f179b661f2266cf4a710e6e774ac | |
parent | f16d2aec61efecbc82d516b12ac77a3a0341cf51 (diff) |
also keep track of texture attributes
-rw-r--r-- | GPU3D.cpp | 3 | ||||
-rw-r--r-- | GPU3D.h | 2 |
2 files changed, 5 insertions, 0 deletions
@@ -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) @@ -46,6 +46,8 @@ typedef struct u32 NumVertices; u32 Attr; + u32 TexParam; + u32 TexPalette; bool FacingView; |