Assorted Voodoo and warning fixes.
This commit is contained in:
@@ -1394,7 +1394,7 @@ next_line:
|
||||
void
|
||||
voodoo_triangle(voodoo_t *voodoo, voodoo_params_t *params, int odd_even)
|
||||
{
|
||||
voodoo_state_t state;
|
||||
voodoo_state_t state = { 0 };
|
||||
int vertexAy_adjusted;
|
||||
int vertexCy_adjusted;
|
||||
int dx;
|
||||
@@ -1406,6 +1406,8 @@ voodoo_triangle(voodoo_t *voodoo, voodoo_params_t *params, int odd_even)
|
||||
int LOD;
|
||||
int lodbias;
|
||||
|
||||
state.dx1 = state.dx2 = 0;
|
||||
|
||||
voodoo->tri_count++;
|
||||
|
||||
dx = 8 - (params->vertexAx & 0xf);
|
||||
|
||||
Reference in New Issue
Block a user