Skip to content

Conversation

deniska
Copy link
Contributor

@deniska deniska commented Sep 17, 2022

Fix display -> screen coordinate conversion for android platform and move it to the platform event handling code, simplifying GetTouchPosition() function implementation.

Fixes previous behavior on Android which is reporting touchscreen input coordinates as a number in range from 0 to 1 to reporting values in screen coordinates.

Tested with native resolution and upscaling. Downscaling currently seems to have another bug somewhere deeper in rendering setup.

Fix display -> screen coordinate conversion for android platform and
move it to the platform event handling code, simplifying
GetTouchPosition() function implementation.
@raysan5 raysan5 merged commit 8e57c8a into raysan5:master Sep 17, 2022
@raysan5
Copy link
Owner

raysan5 commented Sep 17, 2022

@deniska Thanks for the review!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants