summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2020-03-09 12:56:48 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-03-26 15:49:41 +0100
commit543fb1c4dadd75914d595b089820aef42e691075 (patch)
tree4dd1537322747d129861ecb1f0dc7118819bfb35 /main
parent499e07f0102d9969be0aaaaed281c577cacff416 (diff)
Separate DisplayServer from OS on Windows
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 8407259124..df603744b6 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -1964,7 +1964,7 @@ bool Main::start() {
#ifdef WINDOWS_ENABLED
String win_iconpath = GLOBAL_DEF("application/config/windows_native_icon", "Variant()");
if (win_iconpath != "") {
- OS::get_singleton()->set_native_icon(win_iconpath);
+ DisplayServer::get_singleton()->set_native_icon(win_iconpath);
hasicon = true;
}
#endif