Wait, no, this one's wrong too. Don't commit it. It's correct for odd heights but not even heights.
To calculate the number of rows divisible by N, I have to divide the 0-based index of the maximum row by N and add 1 (for the ever-present row 0). However, I divided the height, which is maximum row+1. To do this correctly, I would have to do (height-1)/N+1 or the equivalent (height+(N-1))/N.
I'll fix it tomorow.
On Mon, Aug 17, 2009 at 3:49 PM, Vincent Povirkvincent@codeweavers.com wrote:
This time with correct interlacing code in the patch that is attached.