Fix final bug
This commit is contained in:
parent
baa275b41b
commit
095ebf2790
|
@ -202,8 +202,7 @@ void SceneListSubmit(void* src, int n) {
|
||||||
/* If this was the last vertex in the strip, we need to flush the queue and then
|
/* If this was the last vertex in the strip, we need to flush the queue and then
|
||||||
restart it again */
|
restart it again */
|
||||||
queue_head = (queue_head + 1) % queue_capacity;
|
queue_head = (queue_head + 1) % queue_capacity;
|
||||||
counter--;
|
while(--counter) {
|
||||||
while(counter--) {
|
|
||||||
// There are 3 vertices, so we push the first one
|
// There are 3 vertices, so we push the first one
|
||||||
_glPerspectiveDivideVertex(&queue[queue_head], h);
|
_glPerspectiveDivideVertex(&queue[queue_head], h);
|
||||||
_glSubmitHeaderOrVertex(d, &queue[queue_head]);
|
_glSubmitHeaderOrVertex(d, &queue[queue_head]);
|
||||||
|
|
|
@ -203,8 +203,7 @@ void SceneListSubmit(void* src, int n) {
|
||||||
/* If this was the last vertex in the strip, we need to flush the queue and then
|
/* If this was the last vertex in the strip, we need to flush the queue and then
|
||||||
restart it again */
|
restart it again */
|
||||||
queue_head = (queue_head + 1) % queue_capacity;
|
queue_head = (queue_head + 1) % queue_capacity;
|
||||||
counter--;
|
while(--counter) {
|
||||||
while(counter--) {
|
|
||||||
// There are 3 vertices, so we push the first one
|
// There are 3 vertices, so we push the first one
|
||||||
_glPerspectiveDivideVertex(&queue[queue_head], h);
|
_glPerspectiveDivideVertex(&queue[queue_head], h);
|
||||||
_glSubmitHeaderOrVertex(d, &queue[queue_head]);
|
_glSubmitHeaderOrVertex(d, &queue[queue_head]);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user