-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Game is scaled to 1/4th of the screen on macOS Catalina #32805
Comments
I was about to report this bug too. I am also on MacOS Catalina. I just compiled the master branch, commit d062818. |
See discussion in ioquake/ioq3#422. Maybe the issue stems from official builds using a different Xcode/macOS SDK version? |
I can confirm this, I guess new SDK expect all apps to support HiDPI mode, you can fix it by setting |
And setting |
Yes, I discovered that the mouse clicks are mapped in the entire screen, but the rendering only takes place in the third quadrant. |
@rafaelgdp check #32809, I do not have any mac with real retina display, but it works with simulated HiDPI mode on a normal display. |
@bruvzg I enabled Hidpi option in the Godot Project Settings as you advised and the game worked normally. Thanks! I am on a Macbook Pro 15" 2018, MacOS Catalina 10.15. |
@bruvzg I just tested the fix you coded in your branch and I confirm that it also corrected this bug for me out of the box. Even if I disable Hidpi on the project settings it also works (with a lower resolution). Thanks for the ninja contribution! |
Godot version:
3.2 Alpha 2 -- this bug can only be reproduced when running executable built from GIT. It seems to work correctly when running binary available at https://downloads.tuxfamily.org/godotengine/3.2/alpha2/
OS/device including version:
MacBook Pro (Retina, Mid 2012), macOS Catalina, version 10.15
Issue description:
Game is rendered in the bottom left quarter of the window only, as shown in the image below. It seems that game is not properly scaled to fit the whole window in macOS Catalina. The same project works fine in Mojave.
Steps to reproduce:
Minimal reproduction project:
CatalinaTest.zip
Additional info
This bug only occurs when running binary that is built from sources using "scons platform=osx". When running binary available at "https://downloads.tuxfamily.org/godotengine/3.2/alpha2/Godot_v3.2-alpha2_osx.64.zip", things seem to work properly.
What could be causing binary built from sources to behave like this?
Problematic sources were built using the latest SDK -- with Xcode Version 11.1 (11A1027)
The text was updated successfully, but these errors were encountered: