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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

macOS: opt out of HiDPI OpenGL surface #170

Merged
merged 1 commit into from
Feb 25, 2024
Merged

macOS: opt out of HiDPI OpenGL surface #170

merged 1 commit into from
Feb 25, 2024

Conversation

Kwarf
Copy link
Contributor

@Kwarf Kwarf commented Feb 25, 2024

Hi,

I've been wanting to use this on my MacBook for quite a while now, but I've had issues with scaling making it very hard to work with. I've seen there's plans for a Metal backend, but I wanted to see if I could find some quick-fix in the meantime, and I did. 馃槂

It's a simple one-liner with the following result:

Before
before

After
after

When looking at the documentation I saw that:

For applications linked on macOS 10.15 or later, the default value of this property is true. For applications linked on macOS 10.14 or earlier, the default value of this property is false to keep binary compatibility.

Which likely explains why this worked fine before Catalina.

Thanks!

@emoon emoon merged commit 1e4178f into emoon:master Feb 25, 2024
3 checks passed
@emoon
Copy link
Owner

emoon commented Feb 25, 2024

Thanks for the fix!

Yeah, I haven't gotten around to do the metal version. So many projects :/

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.

None yet

2 participants