Off-by-one error with RTG image scaling?
[This could possibly be a bug in Wine, I guess.]
I noticed an off-by-one error when the RTG image is scaled ("Always scale in windowed mode" checked).
I changed screenmode to P96 640×480. Opening the settings window and changing window size to 1280×960 causes one pixel row to be missing (so the scaled RTG display occupies 1280×959 pixels). If I change window size to 1280×961 the entire RTG display is shown correctly.
It turns out that on setting window size to 1280×962, 1280×964, 1280×966 etc. (all of which should give the same perfect 2× scaling since window width is unchanged), there is the same one pixel row missing. With window sizes 1280×963, 1280×965, 1280×967 etc. the image appears correctly.
|