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

[Vulkan, macOS] Improve HiDPI handling, fix incorrect window viewport clipping. #32818

Merged
merged 1 commit into from
Oct 15, 2019

Conversation

bruvzg
Copy link
Member

@bruvzg bruvzg commented Oct 14, 2019

  • Change Metal layer contents scaling factor even if MainLoop don't exist yet (prevents issue similar to Game is scaled to 1/4th of the screen on macOS Catalina #32805, when primary monitor is HiDPI, secondary is not and Godot is launched on secondary).

  • Fix viewport clipping rect using x value for both width and height.

@akien-mga
Copy link
Member

Thanks!

@bruvzg bruvzg deleted the vlk_fix_hidpi_and_resize branch October 15, 2019 06:40
akien-mga added a commit that referenced this pull request Oct 23, 2019
[Vulkan, macOS] Improve HiDPI handling, fix incorrect window viewport clipping.
akien-mga added a commit that referenced this pull request Dec 12, 2019
[Vulkan, macOS] Improve HiDPI handling, fix incorrect window viewport clipping.
akien-mga added a commit to akien-mga/godot that referenced this pull request Feb 11, 2020
…size

[Vulkan, macOS] Improve HiDPI handling, fix incorrect window viewport clipping.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants