xf86_crtc_rotate_coord should be the exact inverse operation of xf86_crtc_rotate_coord_back, but when calculating x / y for 90 / 270 degrees rotation it was using height to calculate x / width to calculate y, instead of the otherway around. This was likely not noticed before since xf86_crtc_rotate_coord until now was only used with cursor_info->MaxWidth and cursor_info->MaxHeight, which are usally the same. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> |
||
---|---|---|
.. | ||
Makefile.am | ||
xf86Crtc.c | ||
xf86Crtc.h | ||
xf86Cursors.c | ||
xf86cvt.c | ||
xf86DiDGA.c | ||
xf86EdidModes.c | ||
xf86gtf.c | ||
xf86Modes.c | ||
xf86Modes.h | ||
xf86RandR12.c | ||
xf86RandR12.h | ||
xf86Rotate.c |