summaryrefslogtreecommitdiff
path: root/modules/mono/signal_awaiter_utils.cpp
diff options
context:
space:
mode:
authorKLee1248 <tjmcsaxy@gmail.com>2019-04-18 02:43:33 +0000
committerKenneth <dev@kennethlee.rocks>2019-04-18 06:45:04 -0700
commit3d908f57d8c8b6a72ee38cefca7628dc5a3ddc6b (patch)
treeedd6408b68cfac609e530382edf5c5e0ca7784f1 /modules/mono/signal_awaiter_utils.cpp
parent6697fd9a05859914fc320b4b4321fd9fb6170f71 (diff)
Use SHGetKnownFolderPath instead of SHGetFolderPathW.
When getting system directories for Windows, we currently use SHGetFolderPathW. This is a deprecated function and doesn't support "Downloads" folders. As a replacement, this commit uses the newer SHGetKnownFolderPath function, which is supported since Windows Vista. Godot 3.0 only supports Windows 7+, so we don't need to use SHGetFolderPathW for backwards compatibility. Fixes #26876
Diffstat (limited to 'modules/mono/signal_awaiter_utils.cpp')
0 files changed, 0 insertions, 0 deletions