godot/platform
KLee1248 2e5fa9f043 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

(cherry picked from commit 3d908f57d8)
2019-09-24 09:00:45 +02:00
..
android Small fixes, mostly dupicated code 2019-09-24 09:00:45 +02:00
haiku -Remove harcoded opengl extension testing from OS, ask rasterizer instead. 2019-02-26 11:58:47 -03:00
iphone Support vibration for Android and iOS 2019-08-22 00:05:11 +09:00
javascript https://github.com/godotengine/godot/issues/31297 - HTML5: this.rtenv.callMain is not a function when using latest-upstream backend 2019-09-24 09:00:44 +02:00
osx Check project settings live before lookup in crash handler 2019-07-03 16:31:01 +02:00
server Remove unused imports 2019-04-20 20:15:44 +02:00
uwp Remove unused imports 2019-04-20 20:15:44 +02:00
windows Use SHGetKnownFolderPath instead of SHGetFolderPathW. 2019-09-24 09:00:45 +02:00
x11 Small fixes, mostly dupicated code 2019-09-24 09:00:45 +02:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
register_platform_apis.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00