diff --git a/GL/platforms/sh4.c b/GL/platforms/sh4.c index ae19d8e..bfa8415 100644 --- a/GL/platforms/sh4.c +++ b/GL/platforms/sh4.c @@ -233,7 +233,9 @@ void SceneListSubmit(Vertex* vertices, int n) { assert(!is_header(v1)); - if(is_header(v2)) { + bool is_trailing = (v1->flags == GPU_CMD_VERTEX_EOL) || is_header(v2); + + if(is_trailing) { // OK so we've hit a new context header // we need to finalize this strip and move on