Bug Report: Last line of scaled image skewed


#1

Hi Jules

I think I got a live one. I am rendering scaled images to the screen and noticed a tiling artefact. On further drilling down it seems that images that are skewed on the x-axis are rendered incorrectly on the last line; see attached image.

Also find attached a .zip file for a Visual Studio project that displays this error.

Checked against Juce 1-51 and the latest build from git.

Cheers
Don

[attachment=1]ImageRenderBug.png[/attachment]


#2

Thanks for the heads-up on this one, though I’ve spent the last couple of hours staring at this without being able to figure out exactly what’s going wrong! Some kind of very subtle maths error in the rendering code - I’ll post a fix as soon as I can get to the bottom of it…


#3

Hi Jules

Thanks for the rapid attention; muchly appreciated.

Cheers
Don