Hello,
I'm making a mini game for learning purposes, and recently i started testing the game on my Huawei android tablet with 1920, 1200 resolution.
when i use sf::VideoMode::getDesktopMode().height it returns 1133height and 1920width but the tablets height resolution is 1200.
The big issue is when i keep using 1133 as height of my sf::RenderWindow the sprites getGlobalBounds get messed up, its like when i touch point(200, 200) the tablet reads it as point(200, 266).
Is it possible to read exact screen resolution? or to change how the app read touch position?
note:
when putting the tablet to portrait mode, sf::VideoMode::getDesktopMode().height will be 1920-66 and width 1200.