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

desktop/window: use Retina-aware/scaled framebuffer when needed #1470

Open
AnyCPU opened this issue Feb 1, 2025 · 0 comments · May be fixed by #1471
Open

desktop/window: use Retina-aware/scaled framebuffer when needed #1470

AnyCPU opened this issue Feb 1, 2025 · 0 comments · May be fixed by #1471
Labels
bug Something isn't working correctly

Comments

@AnyCPU
Copy link
Contributor

AnyCPU commented Feb 1, 2025

Describe the bug

Let's just use GLFW_SCALE_FRAMEBUFFER (added in GLFW 3.4) when needed.

It has the same effect as GLFW_COCOA_RETINA_FRAMEBUFFER .

So we can use the GLFW_COCOA_RETINA_FRAMEBUFFER for now.

Ref: https://www.glfw.org/docs/latest/window_guide.html

How to reproduce

Change content scale.

Example code

Relevant output

Platform

Windows

@AnyCPU AnyCPU added the bug Something isn't working correctly label Feb 1, 2025
@github-project-automation github-project-automation bot moved this to Todo in Bugs Feb 1, 2025
@AnyCPU AnyCPU linked a pull request Feb 1, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly
Projects
Status: Todo
Development

Successfully merging a pull request may close this issue.

1 participant