Aspect-ratio correction (alternative method)
|Reported by:||eriktorbjorn||Owned by:||fingolfin|
This patch has previously lived as a comment to cigaes's patch #670437, but I think it has now matured to the point where it deserves a tracker item of its own.
The way I see it, the main advantage of this one over the old one is that this can be combined with any scaler, thus producing a smoother image.
The actual stretching algorithm is currently a stupid "double every fifth line" kind of thing, but I imagine it could be replaced with a bilinear filter or something. I've added some comments about how I think this can be done.
The patch only updates the normal SDL backend. Some work may have to be done on the OpenGL backend as well.
Ticket imported from: #757827. Ticket imported from: patches/354.