diff options
author | Andreas Haas <Hinsbart@users.noreply.github.com> | 2017-04-17 10:52:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-17 10:52:54 +0200 |
commit | 60886b8055f601a3994a9c3717dd18da10778dd6 (patch) | |
tree | 6d6dfb642e89dd067b29779f89f47fd925718c83 | |
parent | 25f843f80e4f0196dedc09e3e77dd3eda7c3ccc6 (diff) | |
parent | 2f76257da47b8e529d071bd029ad3caebc6ed9be (diff) |
Merge pull request #8426 from Shockblast/master
[GD 3.0] Fix stretch mode 2d... again
-rw-r--r-- | main/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index 0fa795b214..f2b8804778 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1235,7 +1235,7 @@ bool Main::start() { String stretch_mode = GLOBAL_DEF("display/stretch/mode", "disabled"); String stretch_aspect = GLOBAL_DEF("display/stretch/aspect", "ignore"); - Size2i stretch_size = Size2(GLOBAL_DEF("display/screen/width", 0), GLOBAL_DEF("display/screen/height", 0)); + Size2i stretch_size = Size2(GLOBAL_DEF("display/window/width", 0), GLOBAL_DEF("display/window/height", 0)); SceneTree::StretchMode sml_sm = SceneTree::STRETCH_MODE_DISABLED; if (stretch_mode == "2d") |