Re: [AD] stretch_blit() ob1 error

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Yes, that's what I was afraid of (the part about being too broad; I
> don't fully understand what I changed, just recognised it as a similar
> problem to floating point imprecisions).

Exactly. The problem is that n*(1/n) < 1 in most cases for computers, so 
adding a correction factor is necessary.

> That seems good.  Also, I think the first hunk would be better moved out
> of the per-line loop.  I'll test it a bit more.

If I understand correctly the stretching code, that doesn't really matter 
because the loop at stake is involved in the _compilation_ of the stretcher, 
not its execution.

-- 
Eric Botcazou




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/