Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Fix not applying NVIDIA profile to new executables #81251

Merged
merged 1 commit into from Sep 24, 2023

Commits on Sep 22, 2023

  1. [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 godotengine#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.
    aitorciki committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    6263774 View commit details
    Browse the repository at this point in the history