Skip to content

Adds fix for DPI scaling on backend_glfw_opengl#34

Draft
ikskuh wants to merge 1 commit intozig-gamedev:mainfrom
Ashet-Technologies:fix_dpi_scale
Draft

Adds fix for DPI scaling on backend_glfw_opengl#34
ikskuh wants to merge 1 commit intozig-gamedev:mainfrom
Ashet-Technologies:fix_dpi_scale

Conversation

@ikskuh
Copy link

@ikskuh ikskuh commented Mar 24, 2025

Started to fix the DPI scaling

@ikskuh
Copy link
Author

ikskuh commented Mar 24, 2025

At least this fixes a scaling issue which is a mismatch between the mouse cursor and the display pixels

Copy link
Member

@hazeycode hazeycode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is the way to go. See #42 for reference; note the new fn signature for newFrame and the removal of some mouse position hacks from the glfw backend in particular.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants