mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Fix a few property warnings on Globals access
Hand-picked from 515f92d03b.
This commit is contained in:
@@ -672,7 +672,7 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
video_mode.width = globals->get("display/width");
|
||||
if (!force_res && use_custom_res && globals->has("display/height"))
|
||||
video_mode.height = globals->get("display/height");
|
||||
if (!editor && (!bool(globals->get("display/allow_hidpi")) || force_lowdpi)) {
|
||||
if (!editor && ((globals->has("display/allow_hidpi") && !globals->get("display/allow_hidpi")) || force_lowdpi)) {
|
||||
OS::get_singleton()->_allow_hidpi = false;
|
||||
}
|
||||
if (use_custom_res && globals->has("display/fullscreen"))
|
||||
|
||||
Reference in New Issue
Block a user