winit
winit copied to clipboard
Android - wrong physical size
Description
Hi I am getting this weird bug with screen resolution recently. On Android I am determining my screen size from the Resize event (as on the app start the window is not there yet). Despite having a 1080px wide screen I am getting 810px reported from winit. (the logical size being 400 something).
I am pretty sure that this happened somewhere between 0.28 an 0.29. I scale my game UI based on this value and noticed something suspicious when comparing old screenshots. (unfortunately it'd be hard for me to revert the entire code back to 0.28)
I've just bumped the game to 0.29.15 to check if it didn't get fix during a minor revision but it's the same.
Device and Android version
Samsung M21, Android 12
Winit version
0.29.15