also keep track of texture attributes

This commit is contained in:
StapleButter 2017-02-28 00:52:17 +01:00
parent f16d2aec61
commit e5a4aa7c84
2 changed files with 5 additions and 0 deletions

View File

@ -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)

View File

@ -46,6 +46,8 @@ typedef struct
u32 NumVertices;
u32 Attr;
u32 TexParam;
u32 TexPalette;
bool FacingView;