diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-21 11:28:31 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-01-21 11:28:31 +0100 |
commit | a58f6a9dd6dd86743134b838fd1c89f844bd961b (patch) | |
tree | 640198ae02a408aab50b2d4821f2402070af04dd /platform/windows/os_windows.cpp | |
parent | 7b622ce6e8a40508dbfccb21380e5f0b2dd45fac (diff) | |
parent | c5390f203d6756db1ea74456a80247498679168e (diff) |
Merge pull request #71220 from reduz/prevent-opening-windows-console-files
Prevent opening Windows console files
Diffstat (limited to 'platform/windows/os_windows.cpp')
-rw-r--r-- | platform/windows/os_windows.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp index 130c5f7b97..08299d9b98 100644 --- a/platform/windows/os_windows.cpp +++ b/platform/windows/os_windows.cpp @@ -210,6 +210,8 @@ void OS_Windows::initialize() { } else if (!dwrite2_init) { print_verbose("Unable to load IDWriteFactory2, automatic system font fallback is disabled."); } + + FileAccessWindows::initialize(); } void OS_Windows::delete_main_loop() { @@ -252,6 +254,8 @@ void OS_Windows::finalize() { } void OS_Windows::finalize_core() { + FileAccessWindows::finalize(); + timeEndPeriod(1); memdelete(process_map); |