Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FAU engine does not respect DPI scaling #7

Closed
Dat-Guy opened this issue Apr 5, 2022 · 1 comment
Closed

FAU engine does not respect DPI scaling #7

Dat-Guy opened this issue Apr 5, 2022 · 1 comment

Comments

@Dat-Guy
Copy link

Dat-Guy commented Apr 5, 2022

The mouse's effective position in the window appears to be at half scale to it's actual position, i.e. when the cursor is at the bottom-right corner, the game registers it as being in the center.

Looking into the code, this appears to be an issue with the engine itself using logical pixels (mouse position) against physical pixels (rendering), as the screen's dimensions are used for rendering and it appears fine.

@Anuken
Copy link
Owner

Anuken commented Apr 5, 2022

This may be fixed in the latest version, try re-compiling. I don't have a machine that supports this.

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

No branches or pull requests

2 participants