diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-01-18 13:39:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-18 13:39:57 +0100 |
commit | 7c771ea3101b19600be3c485ddd15da8b2cfb560 (patch) | |
tree | 7ebea7a618ce2120e13a74e59001812c92760e52 /platform/android | |
parent | 0a67b4639699277648a23f5a47d4b023d951bd6d (diff) | |
parent | f107139979d55eaa2f3ddc41f2c7d7895801f2e5 (diff) |
Merge pull request #47522 from madmiraal/rename-test_width-test_height
Diffstat (limited to 'platform/android')
-rw-r--r-- | platform/android/export/export_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/export_plugin.cpp b/platform/android/export/export_plugin.cpp index aa44183329..78155fbef3 100644 --- a/platform/android/export/export_plugin.cpp +++ b/platform/android/export/export_plugin.cpp @@ -1514,7 +1514,7 @@ String EditorExportPlatformAndroid::load_splash_refs(Ref<Image> &splash_image, R } if (scale_splash) { - Size2 screen_size = Size2(ProjectSettings::get_singleton()->get("display/window/size/width"), ProjectSettings::get_singleton()->get("display/window/size/height")); + Size2 screen_size = Size2(ProjectSettings::get_singleton()->get("display/window/size/viewport_width"), ProjectSettings::get_singleton()->get("display/window/size/viewport_height")); int width, height; if (screen_size.width > screen_size.height) { // scale horizontally |