diff options
| author | eska | 2016-04-08 01:30:00 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-04-27 08:49:56 +0200 |
| commit | e654184888672d63df28b1760b3d55461e58607d (patch) | |
| tree | f863f65dbd541c2cd1751aa1748d64205067bff2 | |
| parent | cabb80ecf4e27a4d506439b4252835efc9073b96 (diff) | |
| download | godot-e654184888672d63df28b1760b3d55461e58607d.tar.gz godot-e654184888672d63df28b1760b3d55461e58607d.tar.zst godot-e654184888672d63df28b1760b3d55461e58607d.zip | |
Always set default clear color
(cherry picked from commit 0ee8b74101a4273fa333b8988a3a9d69757c7eae)
| -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 817b99924..b305b1a90 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -914,14 +914,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")); |
