godot/platform
Aitor Guevara fdfa59ee6c [Windows] Fix not applying NVIDIA profile to new executables
An NVIDIA profile is applied to the current executable to disable
threaded OpenGL optimizations on Windows (see #71472). But because the
application is only added to the profile upon the profile creation,
newer executables won't be added to the profile (e.g. if the profile is
created on first launch of Godot_v4.1-stable_win64.exe, when users
update the editor and launch Godot_v4.2-stable_win64.exe, the profile
will never be applied to this new executable).
This patch fixes that scenario by splitting creating the profile (if it
doesn't exist) and adding the application (if it doesn't have a profile
applied) into two separate steps.
Applications that have been manually added to a different profile aren't
overriden to avoid confusing users who know what they're doing.

(cherry picked from commit 6263774aec)
2023-10-24 18:17:02 +02:00
..
android Fix Android input routing logic when using a hardware keyboard 2023-10-24 16:52:58 +02:00
ios Add missing tutorials to documentation classes 2023-10-19 21:59:32 +02:00
linuxbsd Updated compiler version detection 2023-10-24 17:08:57 +02:00
macos Updated compiler version detection 2023-10-24 17:08:57 +02:00
uwp Change explicit 'Godot 4.0' references to 'Godot 4' 2023-07-10 18:09:58 +02:00
web Fix godot_js_wrapper_create_cb regression 2023-10-24 17:25:07 +02:00
windows [Windows] Fix not applying NVIDIA profile to new executables 2023-10-24 18:17:02 +02:00
register_platform_apis.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00