1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Merge pull request #10257 from Faless/html5_fixes

Fix for WebGL2 and HTML5 export
This commit is contained in:
Rémi Verschelde
2017-08-13 17:17:27 +02:00
committed by GitHub
6 changed files with 14 additions and 2 deletions

View File

@@ -1466,6 +1466,7 @@ bool Main::start() {
String iconpath = GLOBAL_DEF("application/config/icon", "Variant()");
if (iconpath != "") {
Ref<Image> icon;
icon.instance();
if (icon->load(iconpath) == OK)
OS::get_singleton()->set_icon(icon);
}