multitheftauto/mtasa-blue

Image render issue

Closed this issue · 1 comments

Describe the bug

Latest nightly broke image rendering when image is rotated.

MTA_.San.Andreas.2025-09-10.11-38-38.mp4

Steps to reproduce

dxDrawImage + set rotation

Version

Multi Theft Auto v1.7-untested-25543

Additional context

No response

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.

The calculations got messed up here because in the old version, the rotation center of the image was at the center of the image by default. Currently it’s rotating around the bottom-right corner.