diff options
author | eska <eska@eska.me> | 2016-04-08 01:30:00 +0200 |
---|---|---|
committer | eska <eska@eska.me> | 2016-04-15 19:20:50 +0200 |
commit | 0ee8b74101a4273fa333b8988a3a9d69757c7eae (patch) | |
tree | 414f1709a250527eae1667604f3c2ecbf6e8417d | |
parent | d454e64f429affb89de036eed6daa5c6e5278492 (diff) |
Always set default clear color
-rw-r--r-- | main/main.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/main/main.cpp b/main/main.cpp index 9c98e3780d..532e8708a6 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -919,14 +919,16 @@ Error Main::setup2() { MAIN_PRINT("Main: Image"); VisualServer::get_singleton()->set_boot_image(splash, boot_splash_bg_color,false); #endif - MAIN_PRINT("Main: DCC"); - VisualServer::get_singleton()->set_default_clear_color(GLOBAL_DEF("render/default_clear_color",Color(0.3,0.3,0.3))); - MAIN_PRINT("Main: END"); } Image icon(app_icon_png); OS::get_singleton()->set_icon(icon); } + + MAIN_PRINT("Main: DCC"); + VisualServer::get_singleton()->set_default_clear_color(GLOBAL_DEF("render/default_clear_color",Color(0.3,0.3,0.3))); + MAIN_PRINT("Main: END"); + GLOBAL_DEF("application/icon",String()); Globals::get_singleton()->set_custom_property_info("application/icon",PropertyInfo(Variant::STRING,"application/icon",PROPERTY_HINT_FILE,"*.png,*.webp")); |