Rewrite Voodoo triangle setup vertex selection code. Fixes missing triangles

on Banshee with some D3D games (eg Black & White, Viper Racing)
This commit is contained in:
SarahW 2020-08-31 13:31:23 +01:00
commit fb391d2484
2 changed files with 56 additions and 9 deletions

View file

@ -306,7 +306,8 @@ typedef struct voodoo_t
uint32_t sSetupMode;
vert_t verts[4];
int vertex_num;
unsigned int vertex_ages[3];
unsigned int vertex_next_age;
int num_verticies;
int cull_pingpong;