summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD00T24 <AkakiKhurtsidze@protonmail.com>2020-02-03 20:40:10 +0400
committerD00T24 <AkakiKhurtsidze@protonmail.com>2020-02-03 20:40:10 +0400
commit88bd3227aced00d775c11aa888564064b0c41bb0 (patch)
tree667f0e58bc5f98cac46583687104c8ff9f7d3e80
parentc4daac279b8ec6f4893056ba6717624f701ab970 (diff)
fixed godot not recognising 150x150 icon for uwp export
-rw-r--r--platform/uwp/export/export.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp
index 57fb9004b8..37fc6fb456 100644
--- a/platform/uwp/export/export.cpp
+++ b/platform/uwp/export/export.cpp
@@ -1176,7 +1176,7 @@ public:
err += TTR("Invalid square 71x71 logo image dimensions (should be 71x71).") + "\n";
}
- if (!p_preset->get("images/square150x150_logo").is_zero() && !_valid_image((Object::cast_to<StreamTexture>((Object *)p_preset->get("images/square150x150_logo"))), 150, 0)) {
+ if (!p_preset->get("images/square150x150_logo").is_zero() && !_valid_image((Object::cast_to<StreamTexture>((Object *)p_preset->get("images/square150x150_logo"))), 150, 150)) {
valid = false;
err += TTR("Invalid square 150x150 logo image dimensions (should be 150x150).") + "\n";
}