Fix up triangle strip rendering
This commit is contained in:
parent
ae335eeff1
commit
e90b5e424a
|
@ -281,14 +281,12 @@ static void generate(AlignedVector* output, const GLenum mode, const GLsizei fir
|
|||
|
||||
vertex->flags = PVR_CMD_VERTEX_EOL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
} else if(mode == GL_TRIANGLE_STRIP && j == (max - 1)) {
|
||||
/* If the mode was triangle strip, then the last vertex is the last vertex */
|
||||
if(mode == GL_TRIANGLE_STRIP) {
|
||||
vertex->flags = PVR_CMD_VERTEX_EOL;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void transform(AlignedVector* vertices) {
|
||||
/* Perform modelview transform, storing W */
|
||||
|
|
Loading…
Reference in New Issue
Block a user