fixed godot not recognising 150x150 icon for uwp export

(cherry picked from commit 88bd3227ac)
This commit is contained in:
D00T24 2020-02-03 20:40:10 +04:00 committed by Rémi Verschelde
parent 5361dbf4f9
commit 273927273d
1 changed files with 1 additions and 1 deletions

View File

@ -1198,7 +1198,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";
}