--- src/display.c 13 Mar 2006 16:13:48 -0000 1.7 +++ src/display.c 13 Mar 2006 16:54:02 -0000 @@ -856,6 +856,8 @@ if (timeToNextRedraw == 0) { + static int init = 0; + gettimeofday (&tv, 0); timeDiff = TIMEVALDIFF (&tv, &s->lastRedraw); @@ -908,11 +910,11 @@ { BoxPtr pBox; int nBox, y; - - pBox = tmpRegion->rects; + + pBox = tmpRegion->rects; nBox = tmpRegion->numRects; - if (s->copySubBuffer) + if (s->copySubBuffer && init) { while (nBox--) { @@ -951,6 +953,7 @@ pBox->x2 - pBox->x1, pBox->y2 - pBox->y1, GL_COLOR); +init = 1; pBox++; }